how to use nested if else in python
Your_hight = int(input("What is Your hight:- ")) if Your_hight >= 120: print("You are good to go to the roller coster") your_age = int(input("What is your Age:- ")) if your_age > 8: print("This is your ticket and have your seat on the roller coster") else: print("Sorry you can't go to the roler coster")