Question: What is the output of the following Python code? num = 2 2 if num % 2 = = 0 : 1 print (

What is the output of the following Python code? num =22 if num %2==0:1 print ("Even Number") else: print ("Odd Number") O Odd Number O 22 O Even Number O This produces an error Activate Windows Go to Settings to activate Windows What is the output of the following Python code? num=-99 if num >0: print ("Positive Number") else: print ("Negative Number") if -99<=num : print ("Two digit Negative Number") Two digit Negative Number O Negative Number Activate Windows Go to Settings to activate Window Positive Number OTwo digit Negative Number O Negative Number O Positive Number O Negative Number Two digit Negative Number What is the output of the following Python code? def finuml, num2): return numl + num2 val=fi(100,200) print (val) O No output O 300 O 100 O 200 Activate Windows What is the output of the following Python code? def myFunc(arg): return arg *5 print(myFunc(10)) O 5 O 10 O 50 O 15 Activate Windows

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 Programming Questions!