Note: * Python is used to illustrate behaviors, but this question is language-agnostic. * For the purpose of this discussion, assume single-line in