DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python class variables make blobal
x = 10 class myClass1(): global x # This takes the variable x outside this class
PREVIOUS
NEXT
Tagged:
#python
#class
#variables
#blobal
ADD COMMENT
Topic
COMMENT
Name
5+5 =
Submit