|Type the character that begins a one-line comment.||#||^ *# *$|
|Type the characters that begin a block comment.||'''||^ *◘◘◘ *$|
|Code a comment that says: This is a comment.||# This is a comment||# `This is a comment|
|On line 1 code the characters that begin a block comment. On line 2 type: This is a comment. On line 3 code the characters that end a block comment.||'''|
This is a comment.
|''' This is a comment. '''|
|Code a 1-line comment. Make up the comment. Remember to type a space after the first character.||# Commenting is the easiest part of programming.||^ *# .* *$|
|Code two 1-line comments. Make up the comments.||# Python is beautiful.|
# Python is powerful.
|^ *# .*\n# .* *$|
|Code a block comment that has only one line of text.||'''|
It would be easier to use # for this.
|^ *◘◘◘\n.*\n◘◘◘ *$|
|Code a 1-line comment. Then write a line of live code that assigns a number to a variable. Make up the comment, the variable name, and the number.||# The following line really needs no explanation.|
population = 120987
|^ *# .*\n[a-zA-Z_][a-zA-Z0-9_]* = [-]?(?:[.]\d+|\d+(?:[.]\d*)?) *$|
|Code a block comment that has two lines of text. Make up the text.||'''|
|^ *◘◘◘\n.*\n.*\n◘◘◘ *$|
|Rewrite this, commenting out the illegal lines.||a = 1|
b = two sisters
c = 3
d = 4 + "dog"
|a = 1|
# b = two sisters
c = 3
# d = 4 + "dog"
|^ *a = 1\n# b = two sisters\nc = 3\n# d = 4 \+ •dog• *$|