0

Python –Ĺ–Ķ –ľ–ĺ–≥—É –Ņ—Ä–ĺ–Ļ—ā–ł —ā–Ķ—Ā—ā

n = int(input()) for x in range(1, n): if x % 2 == 0: continue else: if x % 3 == 0: print("Solo") elif x % 5 == 0: print("Learn") elif x % 5 == 0 and x % 3 == 0: print("Sololearn") else: print(x) –Ę–Ķ—Ā—ā FizzBuzz –ĺ—ā SoloLearn —Ā —ć—ā–ł–ľ –ļ–ĺ–ī–ĺ–ľ –Ņ—Ä–ĺ—Ö–ĺ–∂—É –ĺ—Ā–Ĺ–ĺ–≤–Ĺ—É—é –Ņ—Ä–ĺ–≤–Ķ—Ä–ļ—É, –į —Ā–ļ—Ä–Ķ—ā–Ĺ—č–Ļ —ā–Ķ—Ā—ā –Ĺ–Ķ—ā, –Ņ–ĺ–ľ–ĺ–≥–ł—ā–Ķ —Ä–į–∑–ĺ–Ī—Ä–į—ā—Ć—Ā—Ź

5th Jan 2022, 6:40 PM
Andrey Chiruk
Andrey Chiruk - avatar
2 Antworten
+ 3
–í–į–ľ –Ĺ—É–∂–Ĺ–ĺ –∑–į–Ņ—É—Ā—ā–ł—ā—Ć –≤–Ĺ—É—ā—Ä–Ķ–Ĺ–Ĺ–ł–Ļ –ĺ–Ņ–Ķ—Ä–į—ā–ĺ—Ä if —Ā —ć—ā–ĺ–≥–ĺ if x% 3 == 0 and x% 5 == 0: print ("SoloLearn")
6th Jan 2022, 1:27 AM
Simba
Simba - avatar
+ 1
–Ē—É–ľ–į—é –ī–Ķ–Ľ–ĺ –≤ –ł—Ā–ļ–Ľ—é—á–Ķ–Ĺ–ł—Ź—Ö, –Ĺ–ĺ –Ĺ–Ķ –Ņ—Ä–ĺ–≤–Ķ—Ä—Ź–Ľ, —ā–į–ļ –ļ–į–ļ –Ņ–ĺ –ļ—É—Ä—Ā—É SoloLearn —Ź –ł—Ö –Ķ—Č—Ď –Ĺ–Ķ –Ņ—Ä–ĺ—Ö–ĺ–ī–ł–Ľ
5th Jan 2022, 6:43 PM
Andrey Chiruk
Andrey Chiruk - avatar