What is the correct use of 'if' and 'else' in python language...??? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

What is the correct use of 'if' and 'else' in python language...???

please help me to understand this...

5th Jan 2018, 12:42 PM
SANYOG CHANGMAI
SANYOG CHANGMAI - avatar
2 Answers
+ 3
thnx
5th Jan 2018, 12:54 PM
SANYOG CHANGMAI
SANYOG CHANGMAI - avatar
0
if /*value in 0 or 1*/: //codes else: //codes this value can be 2 == 0 something like that or a function that returns 0 or 1
5th Jan 2018, 12:53 PM
Mustafa K.
Mustafa K. - avatar