3 ms·
I sometimes think the best way for people to learn about loops is not to tell them they exist at first. Give them lots of repetitive assignments, (print the num
by dkopi 11y ago
I sometimes think the best way for people to learn about loops is not to tell them they exist at first.
Give them lots of repetitive assignments, (print the numbers 1 through 50, or all the powers of 2 until 65536) until they're so frustrated they start demanding a solution.
- dr_zoidberg 11y agoThat's just mean, no need to got that high up, and you also risk the students getting bored and giving up. I'd go to fewer amounts (5 to 10) and then explain the loop. If they then complain it's complicated you tell them "imagine you had to copy this thing million times!".