Answers for "python else if and"

3

if and else in python

# if and else uses in statement.
a=45
b=30
c=75
if a<b:
    print('45 is greater than 30')
else:
    print('c is sum of a and b')
output:
c is sum of a and b
Posted by: Guest on November-26-2021

Python Answers by Framework

Browse Popular Code Answers by Language