summaryrefslogtreecommitdiff
path: root/comp/hw/1/3.py
diff options
context:
space:
mode:
Diffstat (limited to 'comp/hw/1/3.py')
-rwxr-xr-xcomp/hw/1/3.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/comp/hw/1/3.py b/comp/hw/1/3.py
new file mode 100755
index 0000000..a84d7e2
--- /dev/null
+++ b/comp/hw/1/3.py
@@ -0,0 +1,10 @@
+import sys
+num = []
+num.append(int(input("number: ")))
+num.append(int(input("number: ")))
+num.append(int(input("number: ")))
+
+num.sort()
+for i in num:
+ sys.stdout.write(f"{i} ")
+print("\n")