Python Introducing Dictionaries Iterating and Packing with Dictionaries Iterate over Dictionaries

Dean Shalem
Dean Shalem
2,185 Points

Easy Question: How does she uncomment her code so easily at 2:30? Also how do I do the opposite and common the code?

How does she add a "#" before each line so easily?

1 Answer

Jason Anders
Jason Anders
Treehouse Moderator 145,299 Points

HI Dean Shalem

It's a neat little trick that will work will most editors. On a Mac, you would just highlight all the lines you want to comment and then press command and / (Command and the forward slash). On Windows, it would be control + /. I work with Macs only, so I'm only fairly certain the Windows short-cut. 🤔

Keep Coding! :) :dizzy: