Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

parentheses in python

() parentheses are used for order of operations, or order of evaluation, and are referred to as tuples. [] brackets are used for lists. List contents can be changed, unlike tuple content. {} are used to define a dictionary in a "list" called a literal.
Source by codingfordata.com #
 
PREVIOUS NEXT
Tagged: #parentheses #python
ADD COMMENT
Topic
Name
1+8 =