Will you dare open one of the three doors above. (Click on a door to open or close it.)
Did you come across any monster? If not carry on opening doors till you find a monster!
Check the Python code below. This code lets the user open one of the three doors to see if there is a monster behind the selected door.
Your task consists of tweaking this code further to enable the user to carry on opening doors till they find the monster. To do so you will need to use a while loop.
The program should count how many doors the user did open and stop once the user meets the monster.