Karl Wittgenstein wrote:
> I would also like to ask what skills you think I should develop so I can 
> approach programming more            
> ' natively', and would like to clarify the following issue:
> input("Something") usually displays Something when prompting for 
> input;why is that the case when I run a single line of code and isn't 
> when I use many?When I run three lines straight in this format,only the 
> first message and prompt are displayed...That is surely out of the scope 
> of my current knowledge....Which is not very encompassing,anyway.

input('Something') displays the prompt 'Something' and then waits for 
input up to a new line. When you enter the input it will execute the 
next statement which may be another input().

Kent

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to