Computers

10th

grade

Image

Python Functions Quiz

8
plays

13 questions

Show Answers
See Preview
  • 1. Multiple Choice
    1 minute
    1 pt

    Python function always returns a value

    True

    False

  • 2. Multiple Choice
    1 minute
    1 pt
    Image

    What is the output of the following code?

    15

    SyntaxError

    (5,10)

  • 3. Multiple Choice
    1 minute
    1 pt

    Select which is true for Python function

    A Python function can return only a single value

    A function can take an unlimited number of arguments.

    A Python function can return multiple values

    Python function doesn’t return anything unless and until you add a return statement

  • Answer choices
    Tags
    Answer choices
    Tags

    Explore all questions with a free account

    Already have an account?