What is the output of this code?
my_name = "Sandy"
print(my_name[2])
LO13 Lesson 7
Quiz
•
Computers
•
10th Grade
•
Medium
Samantha Cassia
Used 1+ times
FREE Resource
14 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What is the output of this code?
my_name = "Sandy"
print(my_name[2])
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What is the output of this code?
my_name = "Sandy"
print(my_name[-2])
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What is the output of this code?
my_name = "Sandy"
print(my_name[0:5])
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What is the output of this code?
my_name = "Sandy"
print(my_name[:])
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What is the output of this code?
my_name = "Sandy"
print(my_name[:5])
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What is the output of this code?
my_name = "Sandy"
print(my_name[1:4])
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The len() method in the below example is used to
find the length of a list.
compare two integers.
find the length of a string.
find the length of a program.
16 questions
Python programming
Quiz
•
6th - 12th Grade
12 questions
Python Programming Basics
Quiz
•
7th - 11th Grade
10 questions
Python Input/Output
Quiz
•
9th - 12th Grade
12 questions
N5 SDD - Python input and output
Quiz
•
7th - 11th Grade
15 questions
Python Casting and Input
Quiz
•
8th - 11th Grade
10 questions
Python: Functions and Parameters
Quiz
•
9th - 12th Grade
17 questions
Python Variables - String vs Integer
Quiz
•
9th - 11th Grade
12 questions
Project-Stem Unit 1 python coding
Quiz
•
9th - 12th Grade
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
25 questions
Spanish preterite verbs (irregular/changed)
Quiz
•
9th - 10th Grade
10 questions
Juneteenth: History and Significance
Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1
Quiz
•
9th - 12th Grade
20 questions
Distance, Midpoint, and Slope
Quiz
•
10th Grade
20 questions
Figurative Language Review
Quiz
•
10th Grade
20 questions
Understanding Linear Equations and Slopes
Quiz
•
9th - 12th Grade