Light Mode
Dark Mode
Why checkio return not tuple?

I know it is too late to change everything but I have question why we need to return list?

IMHO returning tuple will be more correct:

  1. tuple is unmodifiable collection
  2. tuple faster and use less memory
  3. python has syntax sugar for returning tuple
Created: Feb. 9, 2014, 4:39 p.m.
Updated: Feb. 13, 2014, 3:46 p.m.
1
31
User avatar
Cjkjvfnby