Question: #Define gravity gravity = 9 . 8 def main ( ) : #Get the input from user second _ total = int ( input (
#Define gravity
gravity
def main:
#Get the input from user
secondtotal intinputEnter time:
#Show results
distancethrownsecondtotal
#Funciton for the distance
def calculationthrowntime:
distance gravity time
return distance
#Function to calculate the time
def distancethrowntime:
for num in range time : # Letting user choose number of seconds
distancefallen calculationthrownnum #Replace the number the user
choose for the time
printThe distancefallen, in num #Write print out statement
#Call the main function
main
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
