I know how to take a single input from user in python 2.5:
raw_input("enter 1st number")
This opens up one input screen and takes in the first number. If I want to take a second input I need to repeat the same command and that opens up in another dialogue box. How can I take two or more inputs together in the same dialogue box that opens such that:
Enter 1st number:................
enter second number:.............



raw_inputopens a dialogue box? How (e.g. in what enviroment) are you running your programs?raw_inputshould just write the prompt tosys.stdoutand read the input fromsys.stdin, and those are usually a terminal, another program's output or a file. If there's GUI happening when you do it, that'd be very unusual enviroment.raw_inputhas been renamedinput.