0
FizzBuzz problem in Python
n = int(input()) for x in range(1, n, 2): print ("SoloLearn"[(4 if x % 3 else 0):(4 if x % 5 else 9)]or x) does it work?
2 odpowiedzi
+ 2
Yes it works but check the spelling of sololearn. It's SoloLearn
+ 2
Oops... Thank you!