The math module has useful constants and functions:
You can import specific items:
import math print(math.pi) # 3.141592653589793 print(math.sqrt(144)) # 12.0 print(math.floor(3.7))# 3 print(math.ceil(3.2)) # 4
Run your code
Earth's surface area: 510064471.91 sq km
Earth's volume: 1083206916845.75 cu km