if else python
#if else conditions in python
a = "if else conditions are inportant"
if "else" in a:
print("Word is in a")
else:
print("word is not in a")
if else python
#if else conditions in python
a = "if else conditions are inportant"
if "else" in a:
print("Word is in a")
else:
print("word is not in a")
if else python
# IF ELSE ELIF
age=int(input("Enter your age:"))
if age<=18:
print("sorry your are not eligible for vote")
elif age>=18:
print("u are eligible for vote")
else:
print("in some how the previou's condition fails else part will run")
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