Sobes.tech
Intern — Senior

Infinite generator of natural numbers

livecode

Task condition

Implement a generator function that infinitely outputs integers starting from 1. Each time it is called, it should return the next value in the sequence without any upper limit.