Code:
world |
Problem description: At line 17, I keep getting a 'bad argument definition' error, and no matter how much I try fixing the mistakes before line 17, it only seems to be moving the problem elsewhere. Help please, I was getting the hang of coding for abit before stumblinb on yet another problem, still a rookie.
Code:
| ||
#1 Aug 20 2012, 7:54 pm
|
|
Indent the "usr.icon_state = input("What gender?") in list("Male","Female");" line and use a switch() statement to compare the value, or an if(icon_state == "") statement.
| |
#2 Aug 20 2012, 8:28 pm
|
|
And it'd be better to avoid usr in procs.
| |