Python Runtime level error, -
i'm working through online tutorial alone , have no idea i'm missing. can't edit code below anymore 2 characters. of i've tried more 2 character changes.
i need print "hello" on 1 line , on line "joe"
this code given;
print("hello") username = joe print(username) i've tried swopping second line around. i've tried removing second line altogether. i've tried syntax changes no avail.
error: traceback (most recent call last): in line 2 of code submitted: username = joe nameerror: name 'joe' not defined can please guide me in right direction?
thanks in advance
use quotes around joe make string (similar "hello"), otherwise python variable named joe , if not found nameerror raised:
username = "joe" adding 2 quotes meets criteria of adding @ 2 characters.
Comments
Post a Comment