Skip to content

Commit fae4cec

Browse files
authored
fix: syntaxerrors and bad grammar
1 parent 8b273a4 commit fae4cec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

main.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def sequence2():
182182
)
183183
print("You decide to climb.")
184184
input("Press enter to continue...")
185-
os.system('clear')
185+
os.system(clear)
186186
climb_result = climb() # Climbing system initation
187187
if climb_result:
188188
pass
@@ -192,7 +192,7 @@ def sequence2():
192192
json.dump(db, f)
193193
exit()
194194
print("You have reached the top of the cliff.")
195-
os.system('clear')
195+
os.system(clear)
196196
with open('save.json', 'w') as f:
197197
json.dump(db, f)
198198
db['stage'] = 3
@@ -203,7 +203,7 @@ def sequence3():
203203
"You reach a treasure area with a pot of gold, but the same phone booth is there."
204204
)
205205
print("You are scared that the phone booth will attack you.")
206-
choice = input("Do you wish to take the gold? Or do you run away? (get gold/run away)").upper()
206+
choice = input("Do you wish to take the gold? Or do you run away? (get gold/run away) ").upper()
207207
if choice == "GET GOLD":
208208
print(
209209
"Lucky for you, the phone booth was a prop and did not do anything. You were able to retrieve the gold and win!"

0 commit comments

Comments
 (0)