a = float(input("Entrer la valeur A : "))
b = float(input("Entrer la valeur B : "))
c = float(input("Entrer la valeur C : "))
if a<b<c:
print(a, "<", b, "<", c)
elif a<c<b:
print(a, "<", c, "<", b)
elif b<a<c:
print(b, "<", a, "<", c)
elif b<c<a:
print(b, "<", c, "<", a)
elif c<a<b:
print(c, "<", a, "<", b)
elif c<b<a:
print(c, "<", b, "<", a)
Copyright © 2024 ELIBRARY.TIPS - All rights reserved.
Lista de comentários
a = float(input("Entrer la valeur A : "))
b = float(input("Entrer la valeur B : "))
c = float(input("Entrer la valeur C : "))
if a<b<c:
print(a, "<", b, "<", c)
elif a<c<b:
print(a, "<", c, "<", b)
elif b<a<c:
print(b, "<", a, "<", c)
elif b<c<a:
print(b, "<", c, "<", a)
elif c<a<b:
print(c, "<", a, "<", b)
elif c<b<a:
print(c, "<", b, "<", a)