Answers for "if else in a function 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
0

if else usage python

if expression:
   statement(s)
else:
   statement(s)
Posted by: Guest on December-20-2020

Python Answers by Framework

Browse Popular Code Answers by Language