Ending up


#1

can some one explain to me why you can store a variables likes this and is a it

new_word = word + first + pyg
new_word = new_word[1:len(new_word)]

it passed but can some one explain this to me can you actually store new_word like this

how can you create this new_word = word + first + pyg

the make it this with out it conflicting

new_word = new_word[1:len(new_word)]

this is a little not to code academy do better with your explanations some of the ones you give are absolutley rubbish and give you no understanding of what your typeing out


#2

Hi @psyfi_1

There actually is not a conflict. A program is allowed to assign a value to a variable, and then, later, assign a different value to that variable. That is done quite often.

A program can even use an existing value of a variable to compute a new value, and then assign that new value to the variable. That is what this statement does ...

new_word = new_word[1:len(new_word)]

#3

ah okay i understand that cheers


#4