+ 1
Why Is The Meaning Of This Line In Python3. Which Is >>> n = (i for i in range(10)) . And Cant I Print n???
Please Respond!!!
3 Antworten
+ 2
You have to us square brackets:
[ i for i in range(10)]
This is called a list comprehension
+ 1
Thank you very very much both of you guys thanks a lot