
January 27th, 2013, 08:41 AM
|
|
Registered User
|
|
Join Date: Jan 2013
Posts: 1
Time spent in forums: 16 m 18 sec
Reputation Power: 0
|
|
|
Little help !!!
i`m new in python i download video tutorials but they are in python 2.6 and i use 3.3 so in one tutorials when i do this little program
x = input("Enter name: ")
print ("Hey ") + x
i get
Enter name: Goce
Hey
Traceback (most recent call last):
File "D:\Python test\Goce.py", line 2, in <module>
print ("Hey ") + x
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
Can some one help me please because of this i cant go and learn the new tutorials because i get all the time the same massage. And i have no idea where i make my mistake.
Thanks !!!
|