Answer the question
In order to leave comments, you need to log in
Creating lists and tuples?
Python has list( ) and tuple( )
functions Why do these functions require arguments to be given in square and parentheses, doesn't look very nice with double brackets
ps I know that without a function they can be created like this
m_tuple = tuple( (1, 2, 3) )
m_tuple = (1, 2, 3)
Answer the question
In order to leave comments, you need to log in
requires arguments to be specified in square and round brackets
list((1, 2, 3))
and so too list('abc')
.
m_tuple = tuple( (1, 2, 3) )
And actually what for to do a cortege from a cortege?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question