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

(Solved) : 1 Explain Following Code Prints Draw Picture Linked List Step Linkedlist Staff New Linkedl Q28127732 . . . .(Solved) : 1 Explain Following Code Prints Draw Picture Linked List Step Linkedlist Staff New Linkedl Q28127732 . . . .

<p>1)Explain what the following code prints. Draw a picture of thelinked list after each step.</p><p>LinkedList<String> staff = new LinkedList<>();<br/>staff.addFirst("Harry");<br/>staff.addFirst("Diana");<br/>staff.addFirst("Tom");<br/>System.out.println(staff.removeLast());<br/>System.out.println(staff.removeFirst());<br/>System.out.println(staff.removeLast());</p><p><br/>2) Explain what the following code prints. Draw a picture of thelinked