Quote and comment characters

In the Hello, World! lesson, we used double-quotes ” to enclose our text to be printed back to the terminal. It’s also acceptable to use single quotes ‘ as well. There’s certain differences and reasons why you’d want to use each.

 

Comments in python are made using the # pound/hash/octothorpe/number sign/etc

For example using our Hello, World! demo:

Naturally, you can put a comment on it’s own line too, and not cause any issue:

 

Questions