Reading input / user interaction
Published: Wednesday, Dec 26, 2007 Last modified: Thursday, Nov 14, 2024
Input
>>> print input.__doc__
input([prompt]) -> value
Equivalent to eval(raw_input(prompt)).
>>> test = input()
['hi']
>>> test
['hi']