On Mon, Jun 11, 2018 at 01:44:19AM -0700, [email protected] wrote:
> I am very new to python. I am trying to achieve the below in it, but i am
> unable to find suitable documentation to guide me on the same.
>
> I want to prompt 3 questions together and then get input for the first
> question next to question as below.
>
> 1. Enter your name : _
> 2. Enter your age :
> 3. Enter your gender :
>
> After showing the below prompts, the cursor waits in first question for an
> input.
>
> How to achieve this in python. Please help on the same.
The builtin way is with the tkinter module:
https://docs.python.org/3/library/tkinter.html
There's also a builtin way to get input from the user without
resorting to a UI toolkit
https://docs.python.org/3/library/functions.html#input
but it will not allow you to (easily)
prompt 3 questions *together* and *then* get input for
the *first* question *next* to question
(emphasis mine)
Karsten
--
--
https://mail.python.org/mailman/listinfo/python-list