]> fbox.kageds.com Git - adventofcode.git/commitdiff
Create ConvertToArray.py
authorCptG9000 <71446401+CptG9000@users.noreply.github.com>
Thu, 2 Dec 2021 17:32:02 +0000 (17:32 +0000)
committerCptG9000 <71446401+CptG9000@users.noreply.github.com>
Thu, 2 Dec 2021 17:32:02 +0000 (17:32 +0000)
day2/ConvertToArray.py [new file with mode: 0644]

diff --git a/day2/ConvertToArray.py b/day2/ConvertToArray.py
new file mode 100644 (file)
index 0000000..0b48b1f
--- /dev/null
@@ -0,0 +1,7 @@
+numbers = []
+while True:
+       a = input("")
+       if a == "a":
+               break
+       numbers.append(a)
+print(numbers)
\ No newline at end of file