Does the string start with

print('program'.startswith('pro')) → True

You can also choose a level by clicking its number.

About the course

Description
The startswith method checks whether a string starts with the given text
More information
A string (str) is a sequence of characters. String methods return a new string – the original does not change.
Sample question
print('program'.startswith('pro')) → True
Author
Jiří Preisler
Version
1.0