Python -- Index/String

Python -- Index/String

Assessment

Flashcard

Computers

9th - 12th Grade

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

2 questions

Show all answers

1.

FLASHCARD QUESTION

Front

Based on the following lines of code, what will display in the console?
x = "Python"
print (x[0])
print (x[1])
print (x[2])

Back

P
y
t

2.

FLASHCARD QUESTION

Front

What will appear in the console based on the following code?
data = "No Way!"
x = len(data)
print(x)

Back

7

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?