Python Syntax Get link Facebook X Pinterest Email Other Apps June 04, 2017 Python Logic Python Syntax Reference # comments Python Learning Links Get link Facebook X Pinterest Email Other Apps Comments
Python FizzBuzz Solution June 05, 2017 # fizz multiples of 3 # buzz multiples of 5 # fizzbuzz multiples of both i = 1 for i in range(1,51): if i % 3 == 0 and i % 5 == 0: print("fizzbuzz") elif i % 3 == 0: print("fizz") elif i % 5 == 0: print("buzz") else: print(i) i += 1 Why FizzBuzz Read more
Comments
Post a Comment