Python. What is the output and how? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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 Answer
+ 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