elif ladder

 g=10

if g >10:
print("g is greater than 10")
elif g>15:
print ("g is greater than 15")
elif g> 20:
print("g is greater than 20")
else:
print(" g is greater than 5")

"C:\Users\darul Haram\PycharmProjects\pythonProject2\venv\Scripts\python.exe" "C:/Users/darul Haram/PycharmProjects/pythonProject2/venv/Lib/elif ladder.py"
 g is greater than 5

Process finished with exit code 0

Comments

Popular posts from this blog

XAMPP, SQL BASIC COMMANDS

The Minion Game Hackerrank Solution

Arrays - DS | HackerRank Solutions