第5 4 4天:fizzbuzz:FizzBuzz是一个小型Python程序可自动打印FizzBuzz游戏的解决方案 源码
嘶嘶声 指示 您将要编写一个程序,该程序会自动将解决方案打印到FizzBuzz游戏中。 Your program should print each number from 1 to 100 in turn. When the number is divisible by 3 then instead of printing the number it should print "Fizz". `When the number is divisible by 5, then instead of printing the number it should print "Buzz".` `And if the number is divisible by both 3 and 5 e.g. 15 then instead of the number it should prin
用户评论