short if else in python
x = 10 if a > b else 11
short if else in python
x = 10 if a > b else 11
how to use if else in python
print("Welcome to Rolercoster rider")
print()
#taking input of your hight
Your_hight = int(input("What is Your hight:- "))
#if condition
if Your_hight >= 120:
print("You are good to go to the roller coster")
else:
print("Grow taller to go to the rolercoster")
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us