chessboard
If I answered this way, it would be about as informative as what you have
posted.
Please give a clear description of what is that you are trying to do,
what you have tried so far, and exactly where you think you need help.
Uhh i tried
def name(Brandon)
print('Hello world, name)
for the w/o return statement, but I get a invalid syntax. I want to use print to print Hello world, Brandon, and define name=Brandon.
With the return statement I have
def name(user):
return('Hello World,user'% user)
print(name('Brandon'))
I get this error:
line 2, in name
return('Hello World,user'% user)
TypeError: not all arguments converted during string formatting
Can someone help?
change to:
return('Hello World,{}'.format(user))
@
LilPump
Now you have all code you need, good luck.