Really confused, when I use keyword style argument as following:
[color=blue][color=green][color=darkred]
>>> input(prompt="h ello")[/color][/color][/color]
Traceback (most recent call last):
File "<pyshell#5 2>", line 1, in -toplevel-
input(prompt="h ello")
TypeError: input() takes no keyword arguments
While the library reference says the function is: input( [prompt])
so, it should work.:(
I am using python 2.3 for windows.
Have anyone tried this?
I am new to python, please help me, thanks.
[color=blue][color=green][color=darkred]
>>> input(prompt="h ello")[/color][/color][/color]
Traceback (most recent call last):
File "<pyshell#5 2>", line 1, in -toplevel-
input(prompt="h ello")
TypeError: input() takes no keyword arguments
While the library reference says the function is: input( [prompt])
so, it should work.:(
I am using python 2.3 for windows.
Have anyone tried this?
I am new to python, please help me, thanks.
Comment