└── square of planet Mars /square of planet Mars: -------------------------------------------------------------------------------- 1 | import math 2 | 3 | radius_of_mars = 3396 * 1000 # Convert to meters for consistency with the math module 4 | square_of_mars = 4 * math.pi * (radius_of_mars**2) 5 | 6 | print("The square of Mars is approximately", square_of_mars, "square kilometers.") 7 | --------------------------------------------------------------------------------