Report Bug

Qus

What will following code segment print?

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)
Qus

What will following code segment print?

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)


A. 1
B. 3
C. 2
D. 4


Solution
B. 3



CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad