$ ./guess_the_languageProblem Solving — fill the blank
Problem Solving — fill the blank · easy · #138

Complete the function

# does the name start with "Mr"?
flag = name.____("Mr")

Answer: startswith (also accepted: startswith, startswith())

startswith() tests a prefix and returns a boolean.
Play Problem Solving ▸