Skip to content

Commit

Permalink
Update function.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mickahell authored Dec 6, 2021
1 parent 6c44f24 commit 225961b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/function.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,9 @@ def control_input(options: int, input_ctl: int) -> bool:
return True
else:
print("Please give a number between 0 and {}.".format(options))
return False
else:
if input_ctl in options:
return True
else:
print("Please give a valid gate between {}".format(options))
return False
return False

0 comments on commit 225961b

Please sign in to comment.