Last active
April 10, 2019 14:40
-
-
Save Vishakha263/259df0bd76e6293774d94690889442a4 to your computer and use it in GitHub Desktop.
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
types = ['broken', 'intact', 'crushed'] | |
collected_shells = 0 | |
for shell in types: | |
if shell=="broken": | |
continue | |
else: | |
collected_shells+=1 | |
print(collected_shells) | |
break | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
types = ['broken', 'intact', 'crushed']
collected_shells = 0
for shell in types:
if shell=="broken":
continue
else:
collected_shells+=1
print(collected_shells)
break