Answers for "can we use else if in python"

2

Python If ... Else

a = 200
b = 33
if b > a:
  print("b is greater than a")
elif a == b:
  print("a and b are equal")
else:
  print("a is greater than b")
Posted by: Guest on February-01-2021

Code answers related to "can we use else if in python"

Python Answers by Framework

Browse Popular Code Answers by Language