![]() |
|
[Python] What am I doing wrong? - Printable Version +- Sinisterly (https://sinister.li) +-- Forum: Coding (https://sinister.li/Forum-Coding) +--- Forum: Python (https://sinister.li/Forum-Python) +--- Thread: [Python] What am I doing wrong? (/Thread-Python-What-am-I-doing-wrong) Pages:
1
2
|
RE: [Python] What am I doing wrong? - H4R0015K - 03-18-2013 Sorry i forgot to remove a comma try this one Quote:name = raw_input("What is your name?") RE: [Python] What am I doing wrong? - Deque - 03-18-2013 -moved to other languages- RE: [Python] What am I doing wrong? - par†ian - 03-18-2013 (03-18-2013, 06:55 AM)H4R0015K Wrote: Sorry i forgot to remove a commaStill coming with the same message :S RE: [Python] What am I doing wrong? - H4R0015K - 03-19-2013 (03-18-2013, 09:29 PM)partian Wrote:(03-18-2013, 06:55 AM)H4R0015K Wrote: Sorry i forgot to remove a commaStill coming with the same message :S what message? can you post the full error. RE: [Python] What am I doing wrong? - Ex094 - 03-19-2013 @Partian but it's still giving me the same message. Code: What is your name?>LOL dude! For GOD SAKES the error is not actually an error!!!!! It's asking for you to input your name ! Gosh you had put us in some trouble ![]() Code: name = raw_input("What is your name?")
quest = raw_input("What is your quest?")
color = raw_input("What is your favorite color?")
print "Ah, so your name is %s, your quest is %s, " \
"and your favorite color is %s." % (name, quest, color)RE: [Python] What am I doing wrong? - H4R0015K - 03-19-2013 (03-19-2013, 06:41 AM)Ex094 Wrote: @Partian lol i thought he is not able to get proper input and he maybe using 2.x python RE: [Python] What am I doing wrong? - Ex094 - 03-19-2013 (03-19-2013, 06:47 AM)H4R0015K Wrote:(03-19-2013, 06:41 AM)Ex094 Wrote: @Partian Hehehe same here, I went to Code Academy ran you code it worked fine. Then revising the thread comments I came upon the one OP gave that he had been considering the input as an error the whole time :wacko: RE: [Python] What am I doing wrong? - par†ian - 03-19-2013 (03-19-2013, 06:41 AM)Ex094 Wrote: LOL dude! For GOD SAKES the error is not actually an error!!!!! It's asking for you to input your name ! Gosh you had put us in some trouble WOW, JUST WOW! I am the dumbest person yet, I didn't even know you could type in that box, sorry for boiling your blood there - let me bash my head for you. :headbash::oO: Hahaha, thanks for the help guys - Appreciate it. |