I've been having trouble with this python 3.3.0 code. It gives me an EOL error. This is the code:
print('You own a'," ".join(profile['inventory'])
I haven't tried anything else because I don't really know what an EOL error is.
I've been having trouble with this python 3.3.0 code. It gives me an EOL error. This is the code:
print('You own a'," ".join(profile['inventory'])
I haven't tried anything else because I don't really know what an EOL error is.
When running your code, you should get something like SyntaxError: unexpected EOF while parsing
. This is because you forgot to close your parenthesis with your print function.
print('You own a'," ".join(profile['inventory'])) # Add an extra )