checkShift = False
shiftNumber = list(range(1,26))
while checkShift != True:
try:
shift = int(input("Enter your shift number(1~25): "))
if shift in shiftNumber:
checkShift = True
except:
print("Please Enter number between 1 and 25!!")
continue
Created
November 27, 2020 13:02
-
-
Save akirap3/232f1a86bd076641f9d847c38b86e10b to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment