Hello, I’m working on this task:
Here is my code:
a = int(input())
b = int(input())
c = int(input())
if a > b:
if a > c:
if b > c:
print (f"{a} {b} {c}")
else:
print (f"{a}, {c} {b}")
else:
print (f"{c} {a} {b}")
else b > a:
if b > c:
if a > c:
print (f"{b} {a} {c}")
else:
print (f"{b} {c} {a}")
else:
print (f"{c} {b} {a}")
Can anyone please help me to solve it?