Python Fundamentals: Data Science, Code Comments

I remember during the fundamentals course that there were hotkeys to use to quickly comment out all the lines of code you had highlighted. I can’t remember what it was and I’m struggling to find it in the course.

Can anyone tell me how to do it? Thank you so much!

I use this shortcut all the time! It works in Jupyter Notebook as well:

CTRL + /

Also, check out this article for other great shortcuts:

1 Like

Thank you so much! It was really bugging me that I couldn’t remember what it was! :joy: :sweat_smile:

No worries, glad to be of help! :sunglasses: