Skip to content

Commit

Permalink
match statement is not available yet in unitary tests
Browse files Browse the repository at this point in the history
  • Loading branch information
solodov committed Feb 20, 2024
1 parent 3de7cb5 commit 04a8765
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions unitary/examples/quantum_rpg/input_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,11 @@ def get_multiple_user_inputs(
print("[enter]) Confirm selection.", file=file)
print("r) Select again.", file=file)
while True:
match get_user_input("Choose your action: "):
case "r":
break
case "":
return inputs
a = get_user_input("Choose your action: ")
if a == "r":
break
if a == "":
return inputs


def get_user_input_qaracter_name(
Expand Down

0 comments on commit 04a8765

Please sign in to comment.