diff --git a/84_Super_Star_Trek/python/superstartrek.py b/84_Super_Star_Trek/python/superstartrek.py index 40ccb9f6..21e03e45 100644 --- a/84_Super_Star_Trek/python/superstartrek.py +++ b/84_Super_Star_Trek/python/superstartrek.py @@ -902,7 +902,10 @@ class Game: if len(command) == 0: com = 6 else: - com = int(command) + try: + com = int(command) + except ValueError: + com = 6 if com < 0: return