Question: Consider the followin program (written in Python). When executed, what number is displayed on the screen? 1 def fct(a): 2 return a+2 3 4 def
Consider the followin program (written in Python). When executed, what number is displayed on the screen? 1 def fct(a): 2 return a+2 3 4 def fct2(a): 5 return a/2 6 7 I Main sequence 8 9 a fet2 (12) 10 print( fct1 (fct2 (a) +7))
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
