+ 2
Can someone fix line 30?
7 Answers
+ 3
Here you go. Things I'd change:
- random numbers determine dying,
- instead of returning message, print immediately,
- end of input kills you, and
- recall play if still alive.
https://code.sololearn.com/cA3egio4Sswo
+ 5
since line 30 is not within a method, self is not defined. Since noun_name is "" if we put it as part of __init__, that doesn't make sense. How would you like it to work?
+ 5
WOW. you are a genious
+ 5
Thank you, but programming for 45 years as a job helps.
+ 4
That would take massive changes to your code. How would you like to do it?
- My helping by stating do this, or
- My reorganize code so it works.
+ 3
your reorganize it, plz
+ 2
i print "go kitchen",
and the code print "gas explosion"