Psst! Check what courses we have in our offer, and get them all here to save $727. Tick-tock—this deal ends on 3/21.
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.