October 7th, 2013, 09:08 PM
Noob code help
Hey guys ive honestly tried to figure out my error here, its pretty simple code im sure you can figure it out.
Btw this is written in eclispe.
my_name = 'sean'
my_age = 16
my_weight = 120
my_height = 64
my_hair = 'blonde'
print ("lets talk about %s" % my_name)
print (" %d inches tall" % my_height)
print (" %d pounds heavy" % my_weight)
print ("ive got %s eyes and %s hair" % (my_eyes, my_hair))
#messed up on the code above, parantheses should be once continuos thing not 2 breaks,
print ("teeth are usally %s depending on his coffee" % ( my_teeth)
Here is the error
File "C:\Users\User\workspace\variables and printing\src\variablesandprinting.py", line 15
SyntaxError: unexpected EOF while parsing
October 7th, 2013, 09:14 PM
You forgot closing parenthesis at the end of the last two print lines.
October 7th, 2013, 09:20 PM
thank you, just started python today so far its been a good experience. thankyou for the help
Originally Posted by Mekire