Answers for "python if else code"

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
0

else if in pyton

elif():
Posted by: Guest on July-29-2021

Python Answers by Framework

Browse Popular Code Answers by Language