I am trying to learn use of tuple in python in shell (jupyter notebook ...
It is a built-in data structure in Python and because of that you shouldn't ever use list as a variable name. You can create a list in a bunch of ways, list ('123'), list (range (5)), [x**2 for x in range (5)], [1, 2, 3], etc. For more information, you can try looking at the official Python tutorial. – G_M Mar 4, 2018 at 19:32 Add a comment