print(‘’‘███████████████████████████
███████▀▀▀░░░░░░░▀▀▀███████
████▀░░░░░░░░░░░░░░░░░▀████
███│░░░░░░░░░░░░░░░░░░░│███
██▌│░░░░░░░░░░░░░░░░░░░│▐██
██░└┐░░░░░░░░░░░░░░░░░┌┘░██
██░░└┐░░░░░░░░░░░░░░░┌┘░░██
██░░┌┘▄▄▄▄▄░░░░░▄▄▄▄▄└┐░░██
██▌░│██████▌░░░▐██████│░▐██
███░│▐███▀▀░░▄░░▀▀███▌│░███
██▀─┘░░░░░░░▐█▌░░░░░░░└─▀██
██▄░░░▄▄▄▓░░▀█▀░░▓▄▄▄░░░▄██
████▄─┘██▌░░░░░░░▐██└─▄████
█████░░▐█─┬┬┬┬┬┬┬─█▌░░█████
████▌░░░▀┬┼┼┼┼┼┼┼┬▀░░░▐████
█████▄░░░└┴┴┴┴┴┴┴┘░░░▄█████
███████▄░░░░░░░░░░░▄███████
██████████▄▄▄▄▄▄▄██████████
███████████████████████████
‘’’)
print (“welcome to my island”)
print(“try to find my treatsure”),print (“”)
print (“There are two doors in front of you. a red door and \n:door: a blue door”)
chos = input (“which door you want to open?\n”).lower ()
if chos == ‘red’:
print (“Great!\nnow you entered a room.”)
print (“you find three boxes:\n white ,
black ,
green”)
box = input (“which box will you open ?\n”).lower()
if box == ‘white’ :
print (“oops! you found snakes \nGame over”)
elif box == ‘black’:
print (“oops! you found spiders \nGame over”)
elif box == ‘green’:
print (‘congratulations,you found the treasure.’)
else :
print (“sorry l can’t understand you.”)
elif chos == ‘blue’:
print (“oops!\nnow entered a room inside it a lot of
crocodiles”)
print (“game over”)
else:
print (“sorry I can’t understand you.”)
print (“Invalid choice ”)
5 إعجابات
جميل جدا استمر وفقك الله
إعجاب واحد (1)