Web
=PY(python_code,return_type)
Quiz =PY — 15 Questions
15 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 — 15 questions
1 of 15
Question 1 of 15
1/15
Which function is NOT related to =PY?
Explanation: “TAN” is not related to PY.
Question 2 of 15
2/15
How many required arguments does =PY have?
Explanation: =PY has 2 required, 0 optional (2 total).
Question 3 of 15
3/15
Does =PY return a dynamic array?
Explanation: PY spills as a dynamic array.
Question 4 of 15
4/15
How many arguments does =PY have in total?
Explanation: =PY has 2 required, 0 optional (2 total).
Question 5 of 15
5/15
Which use case fits =PY?
Explanation: Use case “External Data, Web & Cube” fits PY.
Question 6 of 15
6/15
In =PY, which is argument #2?
Explanation: Argument #2 is “return_type”.
Question 7 of 15
7/15
What is the type of argument “python_code” in =PY?
Explanation: Type of “python_code” is “Text”.
Question 8 of 15
8/15
Which category does =PY belong to?
Explanation: Category is “Web”.
Question 9 of 15
9/15
Which function is related to =PY?
Explanation: “COPILOT” is related to PY.
Question 10 of 15
10/15
How many optional arguments does =PY have?
Explanation: =PY has 2 required, 0 optional (2 total).
Question 11 of 15
11/15
What is the type of argument “return_type” in =PY?
Explanation: Type of “return_type” is “Number”.
Question 12 of 15
12/15
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 13 of 15
13/15
Which is the correct syntax of =PY?
Explanation: Correct syntax: =PY(python_code,return_type)
Question 14 of 15
14/15
Since which Excel version is =PY available?
Explanation: Version: “Microsoft 365”.
Question 15 of 15
15/15
What is the output type of =PY?
Explanation: Output is “Text”.