Fizz Buzz - For smart programmers
So you're in a job interview, and the interviewer asks you to write a 'fizz buzz generator'. What would a good developer do? A novice developer writes 80 lines of code, an experienced developer would write 20, but you? You're smart. You install it using PIP, and write three lines of code.
This will be the hardest part of your interview, execute the following command:
$ pip install fizz-buzz
This is where the magic happens
# Don't forget to write comments. Interviewers LOVE comments. # Doesn't even matter if they're meaningful! from fizz_buzz import fizz_buzz # Such fizz, very buzz for fizz in fizz_buzz(amount=100): print(fizz)
I'm not responsible if you don't get the job, albeit if they reject you for this you most likely dodged a bullet as they are probably total idiots and you would have been miserable working there. If anything, you should thank me with some free coffee! (Yes, I'm shamelessly begging for coffee)
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE Version 2, December 2004 Copyright (C) 2017 - Luke Paris (Paradoxis) <firstname.lastname@example.org> Everyone is permitted to copy and distribute verbatim or modified copies of this license document, and changing it is allowed as long as the name is changed. DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. You just DO WHAT THE FUCK YOU WANT TO.