from math import * def Sphere(): # defining a function area = 4*pi*r**2 volume = 4/3*pi*r**3 print(r, area, volume) r=1 Sphere() # calling the function r=3 Sphere() # calling the function r=7 Sphere() # calling the function