Does anyone know why code doesn't work when the number I put for b is bigger than a. I am learning about nested if with python:
a=int(input('What is the first number?'))
b=int(input('What is the second number?'))
if a>b:
print('a is bigger than b')
if b>a:
print('b is bigger than a')
Aucun commentaire:
Enregistrer un commentaire