Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
Quiz
3. Question 2
Summary

Instruction

That was a piece of cake for you! How about Question 2?

Exercise

Write a function named get_min_max(string_list) that accepts a list of strings and returns a tuple with two elements: the minimum and the maximum string lengths in the list (respectively).

Stuck? Here's a hint!

Create two variables called current_min and current_max. Iterate over the list and update the variables accordingly.