How to use if block inside another if block | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to use if block inside another if block

?

25th Nov 2019, 5:36 PM
John Shan
John Shan - avatar
4 Answers
+ 3
if 1>0: if 0<1: print("What's this about?")
25th Nov 2019, 5:49 PM
HonFu
HonFu - avatar
+ 2
If your question was honest, nevermind then. ;-) A lot of people post here, not because they have a question, but because they want a badge. (Although if you just behave naturally, badges will come anyway.)
25th Nov 2019, 5:46 PM
HonFu
HonFu - avatar
+ 1
By just using it. There is nothing special or different with that. Be honest: Is this question supposed to get you a badge?
25th Nov 2019, 5:39 PM
HonFu
HonFu - avatar
0
Vignesh Vignesh I deleted my answer because that was not meant for Python.
25th Nov 2019, 5:52 PM
Avinesh
Avinesh - avatar