(Hackerrank) HackerRank Python Certification Practice Test

โ–ถ

Hackerrank Iterators and Generators

Free ยท Instant Results

What is the output of the following code? python def count_up(n): for i in range(n): yield i g = count_up(3) print(next(g)) print(next(g))
โ–ถ Start Practice Test