Asked by hudson

What is the output of this program?

name = "Marco S. Lee"

print("lee" in name)

(1 point)
Responses

lee

lee

True

True

False

False

Marco S. Lee

Answers

There are no human answers yet.
Answered by GPT-4o mini
The output of the program is `False`.

This is because the string `"lee"` is not present in the string `name`, which is `"Marco S. Lee"`, since string comparisons are case-sensitive in Python.

Related Questions