Question: # definitions of the functions def myFunction0 (number): x = 7 + number print (x) def myFunction1 (number): x = 7 + number return x

 # definitions of the functions def myFunction0 (number): x = 7

# definitions of the functions def myFunction0 (number): x = 7 + number print (x) def myFunction1 (number): x = 7 + number return x def myFunction2 (): return x + 4 # the main program, where functions are called x = 5 print(x) my Function (2) print("my Functionl returns: "+ str (myFunction1(x))) print(x) print("myFunction2 returns: "+ str (my Function2())) Answer the following questions about the program above) in the online text-editor. (add submission will open this editor). No file submission! You must submit your own work. 1. Which of the defined functions are fruitful functions? 2. Which of the defined functions are void functions? 3. Which Python built-in functions are used? For each one is this a fruitful or a void function? 4. In the above program, what is the parameter of myFunctiono? 5. What is the argument when myFunction is called? 6. Which variables are global variables? 7. For each function: What are the local variables and the local parameters? 8. What does the program print? (There are 5 print statements!)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!