def bug(): number = input("Enter a number\n>"); while True: print("0*8* or 0*9* causes bug to appear (* is wildcard):\n"); bug()