Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

fizzbuzz python solution

  
for number in range(1, 101):
  if number % 3 == 0 and number % 5 == 0:
    print("FizzBuzz")
  if number % 3 == 0:
    print("Fizz")
  if number % 5 == 0:
    print("Buzz")
  else:
    print([number])
 
PREVIOUS NEXT
Tagged: #fizzbuzz #python #solution
ADD COMMENT
Topic
Name
3+1 =