Skip to content
Quiz · Strings · lesson 2 of 10

Quiz — negative indices

What does the program print?

Python
word = "python"
print(word[-1], word[-6], len(word))

Subscribe to take the course

The course is free. Sign in with Telegram and subscribe to the channel to open every lesson.

Sign in another way