The if
Statement¶
The if
Statement¶
Conditional code execution …
if i <= 3:
print(i)
if i <= 3:
print(i)
else:
print('many')
|
if i == 1:
print('1')
elif i == 2:
print('2')
elif i == 3:
print('3')
else:
print('many')
|