Python Conditions and If statements
THB 0.00
python if else number = 5 if number >= 0: # if นี้จะทำงานเมื่อ number >= 0 if number == 0: print else: print # else ของ if
Practice using if-else conditional statements imifast28 The if elif Statement in Python If you would rather your else statement have a condition, you can use an elif statement instead The elif
ปริมาณ:
python if else number = 5 if number >= 0: # if นี้จะทำงานเมื่อ number >= 0 if number == 0: print else: print # else ของ if
python if else Practice using if-else conditional statements
The if elif Statement in Python If you would rather your else statement have a condition, you can use an elif statement instead The elif