diff options
author | standenboy <standenboy@seacrossedlovers.xyz> | 2023-12-15 10:19:20 +0000 |
---|---|---|
committer | standenboy <standenboy@seacrossedlovers.xyz> | 2023-12-15 10:19:20 +0000 |
commit | 4a95719d58a708ad55b1389631d6339047f786a0 (patch) | |
tree | 26cb6fc2dbe7fa75f57f1d6fb13aff8955772b56 /comp/hw/1/3.py |
added existing work
Diffstat (limited to 'comp/hw/1/3.py')
-rwxr-xr-x | comp/hw/1/3.py | 10 |
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") |