Introduction to Programming using Python 1st Edition

Published by Pearson
ISBN 10: 0132747189
ISBN 13: 978-0-13274-718-9

Chapter 6 - Functions - Section 6.11 - Returning Multiple Values - Check Point - MyProgrammingLab - Page 190: 6.23

Answer

Yes a function in python can return multiple values, the printout of the given code will be : 14 4 45 1.8

Work Step by Step

In the 4th line of the given code the function f will be called with 9 and 5 as arguments. It will return 4 values which will be assigned to variables t1, t2, t3 and t4 and in the next line these values will be printed.
Update this answer!

You can help us out by revising, improving and updating this answer.

Update this answer

After you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.