Add return command
This commit is contained in:
@@ -81,6 +81,8 @@ def client():
|
|||||||
position = -1
|
position = -1
|
||||||
while True:
|
while True:
|
||||||
num_str = input("Select [1-5]: ")
|
num_str = input("Select [1-5]: ")
|
||||||
|
if num_str == "exit" or num_str == "quit":
|
||||||
|
return
|
||||||
try:
|
try:
|
||||||
num = int(num_str)
|
num = int(num_str)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
|
|||||||
Reference in New Issue
Block a user