summaryrefslogtreecommitdiffstats
path: root/solutions/py/02-2.py
diff options
context:
space:
mode:
authorGustav Sörnäs <gusso230@student.liu.se>2019-12-04 07:09:10 +0100
committerGustav Sörnäs <gusso230@student.liu.se>2019-12-04 07:09:10 +0100
commita8df3112a2378aa62ea920f3d202204fc019ad19 (patch)
treede5798dec1af3c277f6585f4b8cf5adf1bc46982 /solutions/py/02-2.py
parent831755fdc6d430bd8781da1897270cf2934bc858 (diff)
downloadaoc-a8df3112a2378aa62ea920f3d202204fc019ad19.tar.gz
Cleanup
Diffstat (limited to 'solutions/py/02-2.py')
-rw-r--r--solutions/py/02-2.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/solutions/py/02-2.py b/solutions/py/02-2.py
index 9a71a7f..2949629 100644
--- a/solutions/py/02-2.py
+++ b/solutions/py/02-2.py
@@ -1,8 +1,6 @@
import sys
-program = input().split(",")
-for i in range(len(program)):
- program[i] = int(program[i])
+program = [int(x) for x in input().split(",")]
for n in range(100):
for v in range(100):