首页 > 代码库 > Exercise 2: Comments And Pound Characters

Exercise 2: Comments And Pound Characters

# A comment, this is so you can read your program later.# Anything after the # is ignored by python.print "I could have code like this." # and the comment after is ignored# You can also use a comment to "disable" or comment out a piece of code:# print "This won‘t run."print "This will run."

 

Fix mietakes

# A comment, this is so you can read your program later.# Anything after the # is ignored by python.print "I could have code like this." # and the comment after is ignored# You can also use a comment to "disable" or comment out a piece of code:print "This won\‘t run." # changedprint "This will run."

 

Exercise 2: Comments And Pound Characters