Menu

String Manipulation - Code Quiz

1. What does this snippet print?

code = "GB2026LON" print(code[2:6])
B2026
2026
202
026

2. What value is printed?

word = "Hi there!" print(len(word))
9
7
10
8

Log in or sign-up to access the quiz



Don't have a login?

You can still revise this topic