Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to use underscore in python

>>> def function(class):
  File "<stdin>", line 1
    def function(class):
                 ^
SyntaxError: invalid syntax
>>> def function(class_):
...     pass
...
>>>
Source by www.datacamp.com #
 
PREVIOUS NEXT
Tagged: #underscore #python
ADD COMMENT
Topic
Name
7+1 =