What is actual use of if statement in python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is actual use of if statement in python

15th Apr 2018, 7:09 AM
Ishan
2 Answers
+ 6
To check if condition is true or false
15th Apr 2018, 7:10 AM
Toni Isotalo
Toni Isotalo - avatar
0
if is a conditional statement that is used to verify a specific condition is true or false
15th Apr 2018, 9:48 AM
Nag Chaitu
Nag Chaitu - avatar