Don't want to delete? Comment!

Report a typo

Sometimes, it is helpful to comment out parts of a program that you don't need now but want to save for later. Look at the following code and decide what lines to comment out so that when you run this block, only the command that prints 7 as a result is executed.

You should comment out the lines of code that will NOT print the number 7.

Write a program in Python 3
print(1 + 2 + 3 + 6)
print(1 + 3 + 3)
print(1 + 2 + 3)
___

Create a free account to access the full topic