Question Info

This question is public and is used in 4 tests or worksheets.

Type: Multiple-Choice
Category: Business Technology
Level: Grade 11
Tags: Python, Progamming
Author: JenniferCrump
Created: 8 years ago

View all questions by JenniferCrump.

Business Technology Question

View this question.

Add this question to a group or test by clicking the appropriate button below.

Grade 11 Business Technology

Which of the following lines of code will produce an error?
  1. list[2] = 1000
  2. tuple[2] = 1000
  3. list = [123, ‘hello’, 99, 10.0]
  4. tuple = (123, ‘hello’, 99, 10.0)