+ 1

Python. What is the output and how?

y=(i for i in range(3)) for i in y: print(i) for i in y: print(i)

15th Jun 2018, 9:58 AM
Sashank Reddy
Sashank Reddy - avatar
1 Resposta
+ 2
Sashank Reddy use code playground to test this code snippet and you can finish python course to gain more knowledge ! 👍ATB https://www.sololearn.com/learn/Python/2435/
15th Jun 2018, 12:27 PM
Daljeet Singh
Daljeet Singh - avatar