Python Programming - Generators - Discussion
Discussion Forum : Generators - General Questions (Q.No. 44)
44.
What is the purpose of the
itertools.count(start, step)
function when used with generators?
Answer: Option
Explanation:
itertools.count(start, step)
generates an infinite sequence of numbers starting from the specified value, with an optional step value.
Discussion:
Be the first person to comment on this question !
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers