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 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz