0
meaning of parantheases
3 Réponses
+ 1
You can use it for math or any thing like logical comparisons etc.
+ 1
different meanings of brackets in python
from:
http://stackoverflow.com/questions/30700603/ddg#30700731
[]: Used to define mutable data types - lists, list comprehensions and for indexing/lookup/slicing.
(): Define tuples, order of operations, generator expressions, function calls and other syntax.
{}: The two hash table types - dictionaries and sets.
0
parentheses is ()