[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Question : Input after all prompts in python

On Mon, Jun 11, 2018 at 01:44:19AM -0700, mohan4h at gmail.com 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:


There's also a builtin way to get input from the user without
resorting to a UI toolkit


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)