4 ms·
Python is an imperative language. It supports functional style really well but it's definitely not a functional language. So whether it's "wrong" to be unable
by Goladus 17y ago
Python is an imperative language. It supports functional style really well but it's definitely not a functional language. So whether it's "wrong" to be unable to use a generator twice is not as obvious as in a functional language.