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

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -