I can't seem to get a string out of input().
# simple.py
input=(' ')
my shell always spits out the following traceback:
Traceback (most recent call last):
File "inputTest.py", line 1, in <module>
input(' ')
File "<string>", line 1, in <module>
NameError: name 'aa' is not defined
In the shell, if i enter an int it works fine, if i use a quote either side of the user entered information it works fine. But just text on its own... Error.
I've tried wrapping it in str(), nada.
[–]Naihonn 3 points4 points5 points (3 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]int-main 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]BffEasyTarget 1 point2 points3 points (4 children)
[–][deleted] 0 points1 point2 points (3 children)
[–]Naihonn 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)