Predict the outputExercise 5/6Elementary20 XP
A function returns two values
Task
Without running the program, write exactly what it prints.
def min_max(cisla):
return min(cisla), max(cisla)
najmensie, najvacsie = min_max([4, 1, 9, 2])
print(najmensie, najvacsie)
print(min_max([2, 2]))
You need to know
Your answer
Put each printed line on its own line.
Hints
Try it yourself first. Each hint reveals a little more - and lowers the reward a little.
Signed out, hints are free - but no XP is awarded either.
Solution
The solution unlocks after the last hint.