Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

can you make a class in a class python

# Yes 
class Main:
  # outer class
  class Inner():
    # inner class
    pass
Source by docs.python.org #
 
PREVIOUS NEXT
Tagged: #class #class #python
ADD COMMENT
Topic
Name
4+5 =