Off Topic(Slightly):Fizz Buzz for Python
I read online that sometimes interviewers want you to solve FizzBuzz to test your programming ability. So, I am doing my own to prep for interviews. I appreciate any feedback. What are some things that I did well? What are some things I could have done differently or better? Thanks all!
“Write a program that prints the numbers from 1 to 100. But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz”. For numbers which are multiples of both three and five print “FizzBuzz”.”
List = range(1,101)
for number in List:
if (number%15) == 0:
elif (number%5) == 0:
elif (number%3) == 0: