if statement python
number = 5
if number == 5:
print("number equals 5")
else:
print("number does not equal 5")
if statement python
number = 5
if number == 5:
print("number equals 5")
else:
print("number does not equal 5")
if statement in python
user_info = input("How may I help you?: ")
if user_info == "on":
print("Light is Turned Om")
elif user_info == "off":
print("Light is turned Off")
elif user_info == "status":
input("All are Good.What do you need?: ")
print("I don't have it")
else:
print("Shutdown processing are being Ready")
#copy the code to your py script to have the results!!!
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