aboutsummaryrefslogtreecommitdiff
path: root/challenge-219/avery-adams/python/ch-1.py
diff options
context:
space:
mode:
Diffstat (limited to 'challenge-219/avery-adams/python/ch-1.py')
-rw-r--r--challenge-219/avery-adams/python/ch-1.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/challenge-219/avery-adams/python/ch-1.py b/challenge-219/avery-adams/python/ch-1.py
new file mode 100644
index 0000000000..5bbe55fb26
--- /dev/null
+++ b/challenge-219/avery-adams/python/ch-1.py
@@ -0,0 +1,8 @@
+#!/usr/bin/python
+
+list = [int(input("Num1:")), int(input("Num2:")), int(input("Num3:")), int(input("Num4:")), int(input("Num5:"))]
+for index in range(len(list)):
+ list[index] = list[index] ** 2
+list.sort()
+for square in list:
+ print(square)