<doocs>0412.Fizz Buzz_1.py
def fizzBuzz( n: int) -> List[str]:
    ans = []
    for i in range(1, n + 1):
        if i % 15 == 0:
            ans.append('FizzBuzz')
        elif i % 3 == 0:
            ans.append('Fizz')
        elif i % 5 == 0:
            ans.append('Buzz')
        else:
            ans.append(str(i))
    return ans
def sample_funcname ( var_0 : int ) -> List [ str ] :
    var_4 = [ ]
    for var_7 in range ( 1 , var_0 + 1 ) :
        if var_7 % 15 == 0 :
            var_4.append ( 'FizzBuzz' )
        elif var_7 % 3 == 0 :
            var_4.append ( 'Fizz' )
        elif var_7 % 5 == 0 :
            var_4.append ( 'Buzz' )
        else :
            var_4.append ( str ( var_7 ) )
    return var_4
