9 karma · joined Jan 2, 2015 (11y ago) · 4 submissions
comment 11y ago · link · parent
comment 11y ago · link · parent
for i in fizzbuzz range fizz = i % 3 == 0 buzz = i % 5 == 0 if fizz and buzz print fizzbuzz else if fizz print fizz else if buzz pritn buzz else print i
If you want to see how they react to changing requirements, then ask them to change it. It's stupid to look at someone's answer to a toy problem and treat it like it's production code.
comment 11y ago · link · parent