import time import datetime import math while True: d = int(input('Your select(print number 1 to 52):')) print("Your chislo=") n = print(math.ceil(d/2)) if d == 16 : print("You completed 1 plevel") flag =[ '.*+==+*:... ', '.*++=%%======+*:.... ', '.*++++=%%%%%========+*:-.... ', '.*+==++++=%%@@%%=========+++++**:-...... ', '.*+====++++++=%@@@%%==++======+++++++====+*:... ', '.*++=%%==+++++++=%%@@@@%%=++======+++++=========+*:--... ', '.*++==%%%==+++++++===%%@@@@%%==++======++++======+*****+. ', '.*+++==%%%====++++++=%%===%%@@@%%=++++====++*+++=+++*****.', '.*==+++==%%%====+*++++=%%%==++=%@@@@%==+*+====+**++==++**.', '.**++***+==%%%====+*++++=%%%%=+==+=%@@@%%%+**+===+**++++*.', '.:**+**::::***+++***:::***+=%%%%=+==++=%@@%%%=+**+==+*+++.', '.:::*++***:::***++++**::::::*++===+**+=++=%%%%%%=+**==+*: ', '.:**:**+++**::::***+++**::::::**+==++*::****+=%%%%%=**==: ', '.:**:::**+++**::::**+++**:::::::*++===+*::***:*+====%=**+.', '.:***::::*++++*:::::**+++**:::::::*+====+*::***:*+===++*:.', '.:****::::**+++*:::::***+****:::::::*+====+*::***:*+===+: ', '.:***+*::::*++++*:::::*********:::::::*+====+*::***::+++. ', '.:****+*::::*+++**::::***********:::::::*=====+*::***:::. ', '.::***+**:::*++++*::::**************::::::*=====+**::*:: ', ' :. .....----::***************:::**:*=====++*::*. ', ' :. ..........-:::*=====+**:- ', '.:. ..:==+*- ', ' :. ..-. ', '.:. ', '.:. ', ' :. ', '.:. ', ' :. ', '.:. ', ' :. ', ' :. ',] for i in range(len(flag)): print(flag[i]) time.sleep(.1) elif n != 16 : print("You Lose. Try again!") smile =['#####################################', '###########@#@@@@@@@@@@@@#=##########', '#########@@@@#%**+++**=#@@@@@@#######', '#######@@@++*...........:+*#@@@######', '#####@@#*+.................-+%@@@@###', '####@@*+---------------------:+#@@###', '##@@@*+:::::::::::::::::::::::++#@@##', '##@@++**::::::#::::::::#:::::**++#@@#', '##@#++***=##%-=@******@%-%##=**++=@@#', '#@@@++****+=+++=******%===+*****++@@#', '#@@@++****#####%******%#####****++@@#', '##@#++***:%@##:********:#@%%***++@@@#', '##@@@++%***@**************%***++*@@@#', '###@@%=+.-*%***%######=***%:..+=@@@##', '####@@+*:*=%***+:*****+***@+*:+=#@###', '######%%%@%**************++@%%%@#####', '########@@@@+**+%****+**++#@@@#######', '###########@@@@@@@%=@@@@@@@##########', '###############@#@@#@################',] for i in range(len(smile)): print(smile[i]) time.sleep(.1) break