Summer Deals - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
Quiz
5. Question 4
Summary

Instruction

Perfect! Question 4 now.

Exercise

Write a function named get_longest(*args) that accepts any number of string arguments and returns the longest string. If there are no arguments, return an empty string. If there is more than one string argument with the greatest length, return the first one.

Stuck? Here's a hint!

Use the following for loop:

for arg in args: