0

How can number 3 4 print when second condition failed?

if if loop not meet the condition then simply jumps the loop & continue the program so how is possible this program to print number 3 4 when if condition failed .

14th Apr 2017, 3:27 PM
LOKESH RATHI
LOKESH RATHI - avatar
1 ответ
0
i dont understand your question but maybe your looking for a=3 if a>4: print("this will get printed when a is bigger than 4") elif a==5: print("this will get printed whena is equal to 5") else: print("something") tip: you can use many elif statements
14th Apr 2017, 3:34 PM
Nihad TK
Nihad TK - avatar