What is the output of this program?

name = "Mia C. Johnson"

print("Mia" in name)

(1 point)
Responses

“Mia” in name

“Mia” in name

an error message

an error message

Mia in Mia C. Johnson

Mia in Mia C. Johnson

True

1 answer

The output of the program will be:

True

This is because the string "Mia" is indeed a substring of the string "Mia C. Johnson". Therefore, the expression "Mia" in name evaluates to True, and that is what gets printed.