which symbol is used to begin a comment line in python?
Grade 8

Quiz
•
English, Computers
•
8th Grade
•
Hard
Manali Pandey
Used 93+ times
FREE Resource
19 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
#
/
//
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will this code print?
100
200
500
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What do these lines of code print
[100, 500, 200]
100, 500, 200
syntax error
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Square brackets in an assignment statement will create which type of data structure?
( s=[] )
List
Queue
Dictionary
Set
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of these is the best description of a list in Python?
A list is a collection of data that has an order and can be changed
A list is a lot of variables
A list is used for shopping
A list is a collection of data that cannot hold duplicated data and cannot be changed
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of these is the correct code for creating a list of names?
nameList = John, Harry, Jesse, John, Harry, Harry
nameList = ("John", "Harry", "Jesse", "John", "Harry", "Harry")
nameList = ["John", "Harry", "Jesse", "John", "Harry", "Harry"]
nameList = [John, Harry, Jesse, John, Harry, Harry]
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
List items have an index number. In the following list, which item has the index number of 3?
["John", "Harry", "Jesse", "Johnm", "oxy", "arries"]
"John"
"Harry"
"Jesse"
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Tuck Everlasting Ch 20-22

Quiz
•
5th - 9th Grade
20 questions
Python list, if

Quiz
•
6th - 12th Grade
20 questions
list 6th

Quiz
•
7th Grade - University
23 questions
Python Quiz

Quiz
•
6th - 9th Grade
14 questions
Python Data types & Exceptions

Quiz
•
1st - 10th Grade
20 questions
Understanding Python Data Structures

Quiz
•
8th Grade
15 questions
7. Sets - Data Structures

Quiz
•
6th - 8th Grade
21 questions
Adjectives

Quiz
•
6th - 8th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for English
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
40 questions
Word Study Assessment: Roots, Prefixes, Suffixes, and Vocabulary

Quiz
•
8th Grade
41 questions
The Outsiders Test Review (Chapters 1-12)

Quiz
•
8th Grade
20 questions
Summer Learning Academy "A Drop of Water" Assessment

Quiz
•
6th - 8th Grade