Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

tuple with only one element in Python

# If you want a tuple with only one element, put a comma after that element
foo = 1,
Source by www.codeproject.com #
 
PREVIOUS NEXT
Tagged: #tuple #element #Python
ADD COMMENT
Topic
Name
3+9 =