This commit is contained in:
JISAUAY committed 2024-12-02 09:58:35 -06:00
commit ca9736d8ec
122 files changed
+28514

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
with open('../input.text', 'r') as file:
data = file.read()
floor = 0
for char in data:
if char == '(':
floor += 1
elif char == ')':
floor -= 1
print(f'The instructions took Santa to floor {floor}')