Nope, now you're just printing strings, not the contents of the variables.
Well actually, this is going to be one whole word. Let's see what happens:
word + first + pyg
word, whats in it? well,
word contains the lowercase (
lower()) version of
original. (look at line 2 of your code)
first, contains the first letter of your input. If I typed mood,
first would hold a copy of the first letter of my word: m. This will not remove the first letter of mood. (Look at line 3)
pyg, well, this is an easy one.
'ay'. (look at line 1)
Now, if we
new_word, we get:
If you were to add spaces, you could do this:
letter = "A"
noun = "tree"
animal = "frog"
print letter + " " + noun + " " + animal
#output: A tree frog
This isn't really necessary... You could just print:
print "A tree frog"
and it will only take one line of code.
Now, if you were to make a tiny program that repeats your name, we could do this:
name = raw_input("name:")
print "Oh hi " + name + "!"
#output: Oh hi billybob!
#(whatever name you choose)
this is useful because you can type something different every time and make Python say a sentence!
Does this help?