Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Python + global variables = ;_;

Name: Anonymous 2007-09-02 6:17 ID:Fm5EpQWi

I'm new to python and 'real' programming. I fucked around with logo and qbasic before briefly, but never anything serious.

I want to change a variable from inside a function, but it only creates a local one with the same name. How the fuck do i change the global variable? (in this case "current_room").

please explain it to me or link to something useful.

;_;

in b4 people flip out and call me names + act like fags and bitch about python

Name: Anonymous 2011-02-04 16:12

Name: Anonymous 2013-09-01 13:51


I was at my friend's apartment smoking hookah with him and some people I didn't know. For some reason they would all chew and lick the hose instead of just using it to smoke and it was really irritating.

Name: Anonymous 2013-09-01 15:22


A rumor was heard that "Chachi" is Korean for penis. This would mean that the 1970s sitcom "Joannie loves Chachi" could be interpreted as "Joannie loves penis".

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List