What will be the question output of the following programs? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What will be the question output of the following programs?

a=True b=false C=false If not a or b: Print 1 Elif not a or not b and c: Print 2 Elif not a or not b and c: Print 3 Else: Print4

14th Jul 2022, 7:51 AM
Semuti Semu
Semuti Semu - avatar
1 Answer
0
a = True b = False c = False if not a or b: print (1) elif not a or not b and c: print (2) elif not a or b or not b and a: print (3) else: print (4)
28th Feb 2023, 2:59 PM
Renuka Reddy Devara
Renuka Reddy Devara - avatar