Computers

10th

grade

Image

Python Lists

1.2K
plays

14 questions

Show Answers
See Preview
  • 1. Multiple Choice
    20 seconds
    1 pt

    What is a list in python?

    A collection of variables

    A collection of items assigned to a single variable

    A statement that cant be changed

    A Christmas list

  • 2. Multiple Choice
    30 seconds
    1 pt

    Which of these codes is correct for creating a list of numbers?

    num = ('10','29','37','109')

    num = ['10','29','37','109']

    num == ('10','29','37','109')

    num = ['10 29 37 109']

  • 3. Multiple Choice
    20 seconds
    1 pt

    What is the index number for 'Spain'?

    ['England','Brazil','Spain','France']

    0

    1

    2

    3

  • Answer choices
    Tags
    Answer choices
    Tags

    Explore all questions with a free account

    Already have an account?