Web
=PY(python_code,return_type)
Quiz =PY — 10 Questions
10 quiz questions about =PY — test syntax, arguments, examples & errors!
Questions:
10 questions
15 questions
Random 10 or 15 questions from the pool + shuffled options each time
Progress — 10 questions
1 of 10
Question 1 of 10
1/10
What is the output type of =PY?
Explanation: Output is “Text”.
Question 2 of 10
2/10
Which is the correct syntax of =PY?
Explanation: Correct syntax: =PY(python_code,return_type)
Question 3 of 10
3/10
In =PY, which is argument #1?
Explanation: Argument #1 is “python_code”.
Question 4 of 10
4/10
Which function is related to =PY?
Explanation: “COPILOT” is related to PY.
Question 5 of 10
5/10
Which formula is a valid example of =PY?
Explanation: Correct example: =PY('Hello' + ' ' + 'World',0)
Question 6 of 10
6/10
Is =PY volatile?
Explanation: PY is not volatile.
Question 7 of 10
7/10
Which statement about =PY is correct?
Explanation: Correct: The PY function cannot be directly entered or seen from Excel's formula bar, instead the Python editor will generate it and insert it into the cell for you. The PY function syntax is primarily used by add-ins to directly insert or read Python formulas. It can also be seen when using the FORMULATEXT function on a cell containing a Python formula.
Question 8 of 10
8/10
Which function is NOT related to =PY?
Explanation: “IRR” is not related to PY.
Question 9 of 10
9/10
How many required arguments does =PY have?
Explanation: =PY has 2 required, 0 optional (2 total).
Question 10 of 10
10/10
How many optional arguments does =PY have?
Explanation: =PY has 2 required, 0 optional (2 total).