You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can stuff values into tuples: (“inga”, 41, “hello”)
() = tulpes, [] = lists
You can have a list of numbers, or a list of characters, but you can't have a list containing a mix of numbers and characters. In a tuple, however, you can throw anything in!
characters are written like 'a' and strings (lists of characters) are written like "a".
you can make a new list with (:) that joins two values together, like:
1 : [2,3]
But we can't do this with tuples! You can only write a tuple and then look at what's inside.