Last active
May 25, 2019 13:39
-
-
Save Vishakha263/c1a93f19c7583f2635aacd94e43f70ff to your computer and use it in GitHub Desktop.
break
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
shot_bottles=['Yellow','Green','Blue','Red','Black'] | |
level,score=1,0 | |
for bottle in shot_bottles: | |
if bottle != 'Black': | |
score+=1 | |
if score==2: | |
level+=1 | |
break |
muddlebee
commented
May 25, 2019
•
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment