# - - coding: utf- 8 - -

# This line prints a sentence.
print "Mary had a little lamb."

# This ine prints a sentence, along with a string". 
print "Its fleece was white as %s." % 'snow'

# This line prints a sentence.
print "And everywhere that Mary went."

# This line prints 10 dots. 
print "." * 10 # what'd that do? It printed 10 dots.

# This variable assigns string as a value.
end1 = "C"

# This variable assigns string as a value.
end2 = "h"

# This variable assigns string as a value.
end3 = "e"

# This variable assigns string as a value.
end4 = "e"

# This variable assigns string as a value.
end5 = "s"

# This variable assigns string as a value.
end6 = "e"

# This variable assigns string as a value.
end7 = "B"

# This variable assigns string as a value.
end8 = "u"

# This variable assigns string as a value.
end9 = "r"

# This variable assigns string as a value.
end10 = "g"

# This variable assigns string as a value.
end11 = "e"

# This variable assigns string as a value.
end12 = "r"

# watch that comma at the end.  try removing it to see what happens
# This line prints first six variables and skips printing newline with comma in 
#the end.
print end1 + end2 + end3 + end4 + end5 + end6, # Comma prints newline 
# instead of space.

# This line prints other six variables.
print end7 + end8 + end9 + end10 + end11 + end12

# Study Drills

# 1. Go back through and write a comment on what each line does.
# 2. Read each one backward or out loud to find your errors.
# 3. From now on, when you make mistakes, write down on a piece of paper what 
# kind of mistake you made.
# 4. When you go to the next exercise, look at the last mistakes you made and 
# try not to make them in this new one.
# 5. Remember that everyone makes mistakes. Programmers are like magicians who 
# like everyone to think they are perfect and never wrong, but it’s all an act. 
# They make mistakes all the time.

# - - coding: utf- 8 - -

# This line prints a sentence.
print "Mary had a little lamb."

# This ine prints a sentence, along with a string". 
print "Its fleece was white as %s." % 'snow'

# This line prints a sentence.
print "And everywhere that Mary went."

# This line prints 10 dots. 
print "." * 10 # what'd that do? It printed 10 dots.

# This variable assigns string as a value.
end1 = "C"

# This variable assigns string as a value.
end2 = "h"

# This variable assigns string as a value.
end3 = "e"

# This variable assigns string as a value.
end4 = "e"

# This variable assigns string as a value.
end5 = "s"

# This variable assigns string as a value.
end6 = "e"

# This variable assigns string as a value.
end7 = "B"

# This variable assigns string as a value.
end8 = "u"

# This variable assigns string as a value.
end9 = "r"

# This variable assigns string as a value.
end10 = "g"

# This variable assigns string as a value.
end11 = "e"

# This variable assigns string as a value.
end12 = "r"

# watch that comma at the end.  try removing it to see what happens
# This line prints first six variables and skips printing newline with comma in 
#the end.
print end1 + end2 + end3 + end4 + end5 + end6, # Comma prints newline 
# instead of space.

# This line prints other six variables.
print end7 + end8 + end9 + end10 + end11 + end12

# Study Drills

# 1. Go back through and write a comment on what each line does.
# 2. Read each one backward or out loud to find your errors.
# 3. From now on, when you make mistakes, write down on a piece of paper what 
# kind of mistake you made.
# 4. When you go to the next exercise, look at the last mistakes you made and 
# try not to make them in this new one.
# 5. Remember that everyone makes mistakes. Programmers are like magicians who 
# like everyone to think they are perfect and never wrong, but it’s all an act. 
# They make mistakes all the time.

# - - coding: utf- 8 - - # This line prints a sentence. # This ine prints a sentence, along with a string". # This line prints a sentence. # This line prints 10 dots. # what'd that do? It printed 10 dots. # This variable assigns string as a value. # This variable assigns string as a value. # This variable assigns string as a value. # This variable assigns string as a value. # This variable assigns string as a value. # This variable assigns string as a value. # This variable assigns string as a value. # This variable assigns string as a value. # This variable assigns string as a value. # This variable assigns string as a value. # This variable assigns string as a value. # This variable assigns string as a value. # watch that comma at the end.  try removing it to see what happens # This line prints first six variables and skips printing newline with comma in #the end. # Comma prints newline # instead of space. # This line prints other six variables. # Study Drills # 1. Go back through and write a comment on what each line does. # 2. Read each one backward or out loud to find your errors. # 3. From now on, when you make mistakes, write down on a piece of paper what # kind of mistake you made. # 4. When you go to the next exercise, look at the last mistakes you made and # try not to make them in this new one. # 5. Remember that everyone makes mistakes. Programmers are like magicians who # like everyone to think they are perfect and never wrong, but it’s all an act. # They make mistakes all the time.