if structure python code example
Example 1: if statement python
if (condition):
result
else:
result
Example 2: else if python
if (condion):
result
elif (condition):
results
else:
result
if (condition):
result
else:
result
if (condion):
result
elif (condition):
results
else:
result