Loading your feed…
for i in range(5):
print(i)
print(i)
The output ends with 4 twice. Why does i still exist after the loop?
Answers, step-by-step code solutions, and community discussions are reserved for verified members. Create your free account in 30 seconds to unlock answers, ask follow-up questions, and connect with peers.