arrow_forward همه ارسال‌ها

جزئیات ارسال کد#102

code_blocks
مسئله مربوطه: مرتب سازی 3 عدد (#12) arrow_outward
verified
وضعیت داوری نهایی: پاسخ نادرست تست 8
terminal
زبان برنامه‌نویسی: Python
schedule
ارسال‌کننده و زمان:
Mujtablue io (۳ سال پیش)
descriptionsolution.py ۱۲ خط • ۲۲۷ بایت
1x, y, z = map(int, input().split())
2lst = [x, y, z]; lst = sorted(lst)
3txt = ""
4for i in lst:
5 txt += str(i)
6 if i == lst[-1]:
7 pass
8 else:
9 txt += " "
10else:
11 print(txt)
12 del x, y, z, i
کد ارسال‌شده برای داوری خودکار هاتکدز UTF-8