Page 1 of 1

Re: Icarus' Coding (Questions, Programs, etc.)

Posted: Fri Dec 12, 2014 3:20 am
by Vezok
What about my drawing of Jesus holding a Palestinian flag?

Re: Icarus' Coding (Questions, Programs, etc.)

Posted: Fri Dec 12, 2014 4:45 am
by Kyzaca
I know I'm missing something entirely obvious: I just can't put my finger on it.
Pretty sure all you did is say "go to 1 to the last". You didn't really assign it to anything.
Maybe you should do
new_word = new_word[1:len(new_word)];


but im only 9

Re: Icarus' Coding (Questions, Programs, etc.)

Posted: Fri Dec 12, 2014 6:24 am
by LeCom
A very big advantage of Python is that it shows the exact errors, which you probably should read completely. However, one disadvantage is that strings don't end with '\0,' therefore you obviously aren't allowed to access the first letter of an empty string.