If Else Conditional Statements in Python
1. If Statement
π Definition:
The if statement is used to check a condition. If the condition is True, the code inside the block will execute.
π‘ Example:
age = 18
if age >= 18:
print("You are an adult.") # This will execute because the condit...
safiakhatoon.hashnode.dev3 min read