On 17/11/11 23:12, ADRIAN KELLY wrote:
i know i should use input but when i changed to raw_input
In Python v3 use input()
In python v2 input() is dangerous, use raw_input() instead. > ... it wouldn't recognise the word print on the next line. Show us the exact code and error. You may be missing a parenthesis, or maybe you are just expecting the wrong behaviour... It won't execute the print until after it has read your input.
everything to get this working.. i am 6 hrs at one program
Heh, I've got one I've been working on for over 10 years, 6 hours is nothing! :-) -- Alan G Author of the Learn to Program web site http://www.alan-g.me.uk/ _______________________________________________ Tutor maillist - [email protected] To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
