i am not getting this q. in question if not true: #means false print("2") # i am not getting this | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 1

i am not getting this q. in question if not true: #means false print("2") # i am not getting this

5th Aug 2016, 3:03 PM
Shubham Kapoor
Shubham Kapoor - avatar
4 Antworten
+ 2
Answer is false so it won't print 2. bcoz not true is obviously false so the if statement would be skipped.. I hope u understand :)
5th Aug 2016, 3:45 PM
Mr.Robot
Mr.Robot - avatar
+ 1
Can't get your question. Please be more specific?
5th Aug 2016, 3:09 PM
Mr.Robot
Mr.Robot - avatar
0
in question if not true print("2") what its output??
5th Aug 2016, 3:37 PM
Shubham Kapoor
Shubham Kapoor - avatar
0
ya i get it
5th Aug 2016, 4:00 PM
Shubham Kapoor
Shubham Kapoor - avatar