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
24 questions
Identifying verbs and their subjects

Quiz
•
6th - 8th Grade
15 questions
Python Quiz

Quiz
•
8th Grade
22 questions
Python 2

Quiz
•
7th - 9th Grade
20 questions
Python Intermediate Quiz (Including pygame)

Quiz
•
3rd - 12th Grade
15 questions
Python - тест

Quiz
•
1st - 12th Grade
20 questions
Adjectives

Quiz
•
6th - 8th Grade
21 questions
Week 5 Homework

Quiz
•
8th Grade
15 questions
Bridge to Terabithia Chapters 3&4

Quiz
•
6th - 8th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade