Search
 
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
Name
5+5 =