Step-by-step explanation:
from math import pi//imports the pi constant
def surf_area_sphere(rad)://naming the function and designating input argument
return 4*pi*rad**2//value to be returned
print("Enter a number: ")
rad = float(input())//collects user input
print(surf_area_sphere(rad))//calls the function