Answer:
In Python:
def print_volume (r):
volume = 4/3 * 3.142*r**3
print(volume)
print_volume(7)
print_volume(14)
print_volume(22)
Step-by-step explanation:
This defines the function and takes radius r as the parameter
def print_volume (r):
This calculates the volume
volume = 4/3 * 3.142*r**3
This prints the volume
print(volume)
The next three lines call the function with different values
print_volume(7)
print_volume(14)
print_volume(22)