Part 1
data = map(int, open("Day 01 input.txt", "r").read().strip().replace("R","").replace("L","-").split("\n")) #individual numbers
num = 50
total = 0
for i in data:
num += i
num %= 100
if num == 0: total += 1
print total
Part 2
data = map(int, open("Day 01 input.txt", "r").read().strip().replace("R","").replace("L","-").split("\n")) #individual numbers
num = 50
total = 0
for i in data:
for j in range(abs(i)):
num += 1 if i >= 0 else -1
num %= 100
if num == 0: total += 1
print total
Lost time to skimming the warning about R1000. Lazy loop to the rescue.