Course Solutions Uncategorized (Solved) : Assignment Defining Function Called Main Consumes Parameters Returns Values Function Calle Q33115473 . . . .

(Solved) : Assignment Defining Function Called Main Consumes Parameters Returns Values Function Calle Q33115473 . . . .

 

For this assignment you will be defining a function calledmain that consumes no parameters andreturns no values.

This function when called is responsible for executing theentire program from start to finish for themanualoption. You do not need to handle theautomatic option for this assignment. Your program shouldimplement all Program Operation steps described at the beginning ofthis project with the exception of Step 7.2.1. You also do not needto define the auto_generate_thrust for this assignment.

——–

what I have that doesn’t work

def main():
altitude = 4.0
speed = 0.05
fuel = 10
strength = 4
get_initial_conditions()
show_status(altitude,speed,fuel,strength)
save_history(history,landing_attempt)
plot_history(history_list)
m_or_a = get_manual_or_automatic()
if m_or_a == ‘m’:
show_status(altitude,speed,fuel,strength)
thrust = get_thrust_from_user(altitude,speed,fuel,strength)

if __name__==’__main__’:
main()

———

Need to plot 3 lines, and

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post