Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Exercise: Alternator

Create a generator for the following number series: 1, -2, 3, -4, 5, -6, ...