When You Need a Sequence, You Need a Sequence
It’s so easy to get this wrong!
Commas make sequences and sequences are a single
thing
- For example,
the function min() returns the
minimum value in a sequence
- min((8, 5, 23)) returns 5
- min(5) returns 5
- But min(8, 5, 23) would return an
error
min() needs a sequence, and we're giving it three numbers