import math PI = math.pi radius = float(input("Enter the radius of a sphere ")) volume = 4 / 3 * PI * radius**3 print(f"The volume of the sphere is {volume}")