Created
March 31, 2021 17:00
-
-
Save trashvin/2874bdb5240a82620793e065c0c85263 to your computer and use it in GitHub Desktop.
Markdium-How To Debug Jupyter Notebooks in Visual Studio Code
This file contains hidden or 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
# count the number of mouse in list of devices | |
devices = ['laptop','mouse', 'charger', 'mouse', 'keyboard', 'mouse'] | |
mouse_count = 0 | |
for device in devices: | |
if device.upper() == 'MOUSE': | |
mouse_count += 1 | |
print(f"mouse count : {mouse_count}") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment