diff options
Diffstat (limited to 'solutions/py/02-2.py')
| -rw-r--r-- | solutions/py/02-2.py | 4 |
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): |
