+ 1
Tuple by default? Lists inside of lists
I created a small matrice with lists inside of lists but it's a tuple by default, why is this?
2 Answers
+ 6
That doesn't happen.
Can you show us the code?
+ 3
Also if you have a tuple, you can make it a list by list()
t = (1,2,3)
t = list(t)
print(t)
[1,2,3]
Hot today
I have made a calculator in which my % (Percentage) not work correctly for 100%50 or 100%20.
2 Votes
Python palindrome challenge.
1 Votes
Java
0 Votes
Number of Ones ( C++ ) question!
1 Votes