csev / py4e

Web site for www.py4e.com and source to the Python 3.0 textbook

Home Page:http://www.py4e.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chapter 4 - Quiz: Functions - Question 5 answers

darryl-a-peterson opened this issue · comments

Issue:
Should the valid answer be "x and y"? "x" is the argument to "max" but "y" is also the argument to "print"?

Question:
In the following Python code, which of the following is an "argument" to a function?

x = 'banana'
y = max(x)
print(y)

( ) print
( ) x
( ) max
( ) 'banana'

Which site are you seeing this error? Coursera? py4e.com ? The quizzes are different on the various platforms.

All fixed - thanks.