Other

Professional Development

Image

Python Practice Test #1

177
plays

30 questions

Show Answers
See Preview
  • 1. Multiple Choice
    15 minutes
    1 pt
    Image

    What will the output be after executing the following code snippet?

    3

    9

    1

    18

  • 2. Multiple Choice
    15 minutes
    1 pt
    Image

    What will the output be, if we run the following code?

    Monday, Tuesday, Wednesday, Thursday

    Friday

    None

    AttributeError: 'tuple' object has no attribute 'append'

  • 3. Multiple Choice
    15 minutes
    1 pt
    Image

    How many times will it print "#"?

    3

    1

    2

    4

  • Answer choices
    Tags
    Answer choices
    Tags

    Explore all questions with a free account

    Already have an account?