[Tutor] help

Andrew Critchley li_grim at yahoo.co.uk
Mon Dec 3 19:53:36 CET 2007


I recently downloaded the newer version of python, the 2.5.1 one, and when ever i try to make an input what ever i type into the brackets appears on the next line and when i try to add the next line it carries on from the input,This is what happens:

I type this down:

# Area calculation program

>>>print “Welcome to the Area calculation program”
>>>print “–––––––––––––”
>>>print

>>># Print out the menu:
>>>print “Please select a shape:”
>>>print “1  Rectangle”
>>>print “2  Circle”

>>># Get the user’s choice:
shape = input(“>30 “)
>30 (and then this line appears)
(here i should type "# Calculate the area:" but it carries on from the above line and when i press enter i encunter an error and it all goes wrong)
please help me with this problem.


      __________________________________________________________
Sent from Yahoo! - the World's favourite mail http://uk.mail.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20071203/46e02a4a/attachment.htm 


More information about the Tutor mailing list