Can someone please tell me why the two python codes below produce entirely different outcomes?

The second time, hi is in quotes. So it is a string literal. It is not a variable. Specifically, it is not the value of the iterator.

Browse More Popular Posts

Leave a Comment