0
Tuples
can tuples be nested for eg my tuples=(1,(2,3)) is this correct
2 Respostas
+ 2
Yes, tuples as a classical datatype, can be nested. However, I'm not sure what programming language you're using.
When asking a question you should specify any relevant information.
0
yes.
please write your variable my_tuples or MyTuples (as Python rule)
my_tuples = (1,(2,3))
print(my_tuples)