I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!

maitre_kaio

6 years ago

Look at the place nicely pointed by the interpreter.
What the hell '>>>' is doing here ? I think you made a bad copy/paste from idle.

anonymous

6 years ago

it looks like someone have run code and copied it from idle and then he just pasted it there :D

anonymous

6 years ago

this is my first time using codepad or programming or using python or anything, i highlighted the screen in IDLE after I had what I though was a good program, clicked edit, clicked copy, went to codepad, clicked paste. how else do you paste into codepad?

More answers

@maitre, I see what it's pointing at but I have no idea how to not have that in there

anonymous

6 years ago

@tomas, care to tell me how to do it correctly instead of just laughing at me? lol laughing at me is cool but maybe followed or preceded by some constructive feedback would be nice, thanks

maitre_kaio

6 years ago

We are not laughing at all; because we want to help you and take time to read the questions.
That said, do you understand that '>>>' is not part of your program ?
If this is the case, you probably know how to erase characters in an editor ?

anonymous

6 years ago

you copied not code but standard output window

anonymous

6 years ago

I had no idea that '>>>' was not part of the program. is codepad the editor? so do i c/p from idle into codepad and then manually delete the '>>>'? ill try doing that now. im sorry I just thought tomas was having a laugh at me. you are both very helpful so I thank both of you, I just feel like a noob all the time right now, maybe a little insecure lol

anonymous

6 years ago

your code is only
lastfirst = raw_input("What is your last name?")+" "+raw_input("What is your first name?")
print lastfirst

anonymous

6 years ago

lol ooooooh thank you that helps, i had no idea

anonymous

6 years ago

is that good code for the problem?

anonymous

6 years ago

did you write it yourself?

anonymous

6 years ago

yes, after reviewing almost every thread on here about it, def needed help, but no one else wrote the code like that

maitre_kaio

6 years ago

'>>>' is just the way that the IDLE shell is saying 'hey, please type something here'. It is called a prompt.
And I don't know if I'm right, but now I believe that you're typing all your code in the shell. That's not very efficient because the interpreter evaluates each line you entered. Is it the case ?

anonymous

6 years ago

yes, that is the case, and it seemed very inefficient because one small error and I had to start all over again. what is a better way?