Join Slack
Communities
Powered by
I also noticed a difference. With a sequence, usin...
# getting-started
j
jabba
10/29/2017, 3:28 PM
I also noticed a difference. With a sequence, using
.take(10)
, I got the first 10 prime numbers. When I called
.take(10)
again, it returned again the first 10 prime numbers, i.e. the sequence was reset. How does it work? The iterator worked as I expected it.
Open in Slack
Previous
Next