University

Image

List

26

8 questions

  • 1. Multiple Choice
    45 seconds
    1 pt

    What will be printed after each of the following code segments?

    my_list = [5, 'old', 'new', 8, 'time', 2]

    print(my_list[0])

    5

    new

    error

    time

  • 2. Multiple Choice
    45 seconds
    1 pt

    What will be printed after each of the following code segments?

    my_list = [5, 'old', 'new', 8, 'time', 2]

    print(my_list[2])

    5

    new

    error

    time

  • 3. Multiple Choice
    45 seconds
    1 pt

    What will be printed after each of the following code segments?

    my_list = [5, 'old', 'new', 8, 'time', 2]

    print(my_list[4])

    5

    new

    error

    time

  • Answer choices
    Tags
    Answer choices
    Tags