#-------------------------------------------------------------------------------
#  Function4.py
#  functions have return values
#-------------------------------------------------------------------------------

from math import pi as p

def sphere_volume(r):
   """returns volume of sphere of radius r """
   return (4/3)*p*r**3

def sphere_area(n):
   """returns surface area of sphere of radius r """ 
   return 4*p*r**2

#-- main program --------------------------------------------------------------
for r in range(1, 11):
   print(r,'\t',sphere_area(r),'\t',sphere_volume(r))

