I am writing a program for a sample test at hackerRank but my loop is not working or i must say i am receiving only one output

前端 未结 0 352
渐次进展
渐次进展 2021-01-24 21:22

Here is the code

def fizzBuzz(n):
    n = list(range(1,n+1))
    for numbers in n:
        m3 = numbers / 3
        m5 = numbers / 5
        if type(m3) == int an         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题