Skip to content

Instantly share code, notes, and snippets.

@trashvin
Created March 31, 2021 17:00
Show Gist options
  • Save trashvin/2874bdb5240a82620793e065c0c85263 to your computer and use it in GitHub Desktop.
Save trashvin/2874bdb5240a82620793e065c0c85263 to your computer and use it in GitHub Desktop.
Markdium-How To Debug Jupyter Notebooks in Visual Studio Code
# 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