Menu

String Manipulation - Code Quiz

1. What does this snippet print?

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

2. What value is printed?

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

Log in or sign-up to access the quiz



Don't have a login?

You can still revise this topic