0

When is the 'if' statement used in python

If statement: expression

1st Nov 2019, 1:01 AM
Isiani Joshua
Isiani Joshua - avatar
1 Answer
+ 1
When the 'expression' has got some limited conditions to be executed with, then you should use 'if' to write the condition(s). Nothing special. Just like other programming languages. And also, just like how you use 'if' while talking to someone else.
1st Nov 2019, 1:20 AM
o.gak
o.gak - avatar