Mong
asked

Expert
Sudip Bhandari answered
In Python, we use the if...else statement to make decisions. For example:
age = 19
if age >= 18:
print("The person can enter inside the club.")
else:
print("The person cannot enter inside the club.")We have a dedicated lesson on if...else, so youâll learn more about it as you continue the course.
For now, I recommend just keeping the flow and moving forward step-by-step.
If you want to jump ahead and learn about it right now, you can visit: if...else Statement | Programiz PRO
Hope this helps!
Python
This question was asked as part of the Learn Python Basics course.
Our Experts
Sudip BhandariHead of Growth/Marketing
Apekchhya ShresthaSenior Product Manager
Kelish RaiTechnical Content Writer
Abhilekh GautamSystem Engineer
Palistha SinghTechnical Content Writer
Sarthak BaralSenior Content Editor
Saujanya Poudel
Abhay Jajodia
Nisha SharmaTechnical Content Writer
Udayan ShakyaTechnical Content Writer
