Quiz: Getting Started

Let's test what you've learned so far.

1

What is the output of the following code?

string = "Hello, World!"
print(string[7:12])
A)

“World”

B)

“Hello”

C)

“World!”

D)

“Worl”

Question 1 of 50 attempted

Get hands-on with 1200+ tech skills courses.