+ 4

–ü–ĺ–ľ–ĺ–≥–ł—ā–Ķ –Ņ–ĺ–∂–į–Ľ—É–Ļ—Ā—ā–į —Ä–Ķ—ą–ł—ā—Ć –∑–į–ī–į—á—É Fizzbuzz

n = int(input()) for x in range(1, n): if x % 3 == 0 and x % 5 == 0: print("SoloLearn") elif x % 3 == 0: elif x % 3 == 0: print("Solo") elif x % 5 == 0: print("Learn") else: print(x)

9th Dec 2020, 3:04 PM
–ź–∑–į–ľ–į—ā –Ę—É—Ä—É–ľ–Ī–Ķ–ļ–ĺ–≤
–ź–∑–į–ľ–į—ā –Ę—É—Ä—É–ľ–Ī–Ķ–ļ–ĺ–≤ - avatar
30 Réponses
+ 5
—Ö–ĺ—Ä–ĺ—ą–ĺ
9th Dec 2020, 4:02 PM
–ė–≤–į–Ĺ –ß–ł–ļy–Ĺ–ĺ–≤
–ė–≤–į–Ĺ –ß–ł–ļy–Ĺ–ĺ–≤ - avatar
+ 11
n = int(input()) for x in range(1, n): if not x % 2 == 0: if x % 3 == 0 and not x % 5 == 0: print("Solo") elif not x % 3 == 0 and x % 5 == 0: print("Learn") elif x % 3 == 0 and x % 5 == 0: print("SoloLearn") else: print(x)
9th Dec 2020, 3:32 PM
–ė–≤–į–Ĺ –ß–ł–ļy–Ĺ–ĺ–≤
–ė–≤–į–Ĺ –ß–ł–ļy–Ĺ–ĺ–≤ - avatar
+ 6
–Ě—É –≤—Ā–Ķ –ĺ–ī–Ĺ—É —Ü–ł—Ą—Ä—É –≤ –ļ–ĺ–ī–Ķ –Ĺ—É–∂–Ĺ–ĺ –ī–ĺ–Ī–į–≤–ł—ā—Ć:) for x in range (1, n, 2): –®–į–≥–ł, —ā.–Ķ. 3-—Ź—Ź —Ü–ł—Ą—Ä–į –Ņ—Ä–ĺ–≥—Ä–į–ľ–ľ–į —ā–į–ļ–ł–ľ –ĺ–Ī—Ä–į–∑–ĺ–ľ –Ī—É–ī–Ķ—ā –≤—č–Ī–ł—Ä–į—ā—Ć, —ā–ĺ–Ľ—Ć–ļ–ĺ –Ĺ–Ķ—á–Ķ—ā–Ĺ—č–Ķ —á–ł—Ā–Ľ–į –ĺ—ā 1 –ī–ĺ –≤–≤–Ķ–ī—Ď–Ĺ–Ĺ–ĺ–≥–ĺ —á–ł—Ā–Ľ–į n...
11th Dec 2020, 12:49 PM
Dmitrij Kovalchis
Dmitrij Kovalchis - avatar
+ 5
–≤–ĺ—ā –≤–į—ą –ļ–ĺ–ī https://code.sololearn.com/c094GII07tPp/?ref=app –Ě–į–ī–Ķ—é—Ā—Ć, —ć—ā–ĺ –Ņ–ĺ–ľ–ĺ–∂–Ķ—ā!!
9th Dec 2020, 3:06 PM
Aastha
Aastha - avatar
+ 5
–ź–∑–į–ľ–į—ā –Ę—É—Ä—É–ľ–Ī–Ķ–ļ–ĺ–≤ –í—č –ľ–ĺ–∂–Ķ—ā–Ķ —Ā–ļ–į–∑–į—ā—Ć –ľ–Ĺ–Ķ, –ļ–į–ļ–ĺ–Ļ —ā–ł–Ņ –≤—č–≤–ĺ–ī–į –≤–į–ľ –Ĺ—É–∂–Ķ–Ĺ? —ā–ĺ–Ľ—Ć–ļ–ĺ —ā–ĺ–≥–ī–į —Ź —Ā–ľ–ĺ–≥—É –ī–į—ā—Ć –≤–į–ľ –ļ–ĺ–ī, –ļ–ĺ—ā–ĺ—Ä—č–Ļ –≤—č —Ö–ĺ—ā–ł—ā–Ķ ...
9th Dec 2020, 3:17 PM
Aastha
Aastha - avatar
+ 5
–ź–∑–į–ľ–į—ā –Ę—É—Ä—É–ľ–Ī–Ķ–ļ–ĺ–≤ –ü–ĺ–ļ–į –ł –Ņ–ĺ–ļ–į –≤–į—ą–į –ļ–ĺ–Ĺ—Ü–Ķ–Ņ—Ü–ł—Ź –Ĺ–Ķ –Ī—É–ī–Ķ—ā —Ź—Ā–Ĺ–į, —Ź –Ĺ–Ķ –ľ–ĺ–≥—É ....
9th Dec 2020, 3:32 PM
Aastha
Aastha - avatar
+ 2
–Ě–Ķ—ā, —ć—ā–ĺ –ľ–Ĺ–Ķ –Ĺ–Ķ –Ņ–ĺ–ľ–ĺ–≥–Ľ–ĺ!
9th Dec 2020, 3:14 PM
–ź–∑–į–ľ–į—ā –Ę—É—Ä—É–ľ–Ī–Ķ–ļ–ĺ–≤
–ź–∑–į–ľ–į—ā –Ę—É—Ä—É–ľ–Ī–Ķ–ļ–ĺ–≤ - avatar
+ 2
–Ē–Ķ–Ľ–ĺ –≤ —ā–ĺ–ľ —á—ā–ĺ —Ź —ā–ĺ–Ľ—Ć–ļ–ĺ —á—ā–ĺ –ī–ĺ—ą–Ķ–Ľ –ī–ĺ —É—Ä–ĺ–≤–Ĺ—Ź Fizzbuzz, –ł –Ĺ–Ķ –ľ–Ĺ–Ķ –Ĺ–Ķ –Ņ–ĺ–Ĺ—Ź—ā–Ĺ–ĺ —ć—ā–ĺ —ā–Ķ–ľ–į, –Ĺ–Ķ –ľ–ĺ–≥—É —Ä–Ķ—ą–ł—ā—Ć –Ņ–Ķ—Ä–≤—É—é –∑–į–ī–į—á—É!
9th Dec 2020, 3:20 PM
–ź–∑–į–ľ–į—ā –Ę—É—Ä—É–ľ–Ī–Ķ–ļ–ĺ–≤
–ź–∑–į–ľ–į—ā –Ę—É—Ä—É–ľ–Ī–Ķ–ļ–ĺ–≤ - avatar
+ 2
–ü—Ä–ĺ—Ā—ā–ĺ –ľ–Ĺ–Ķ –ĺ—á–Ķ–Ĺ—Ć —ā—Ä—É–ī–Ĺ–ĺ, –ł —Ź –Ĺ—É–∂–ī–į—é—Ā—Ć –≤ –Ņ–ĺ–ľ–ĺ—Č–ł, –ł –ľ–ĺ–∂–Ķ—ā —ā—č –Ī—č –Ĺ–į—É—á–ł–Ľ–į –Ī—č –ľ–Ķ–Ĺ—Ź —ā–ĺ–ľ—É —á—ā–ĺ —Ź —Ö–ĺ—á—É?
9th Dec 2020, 3:22 PM
–ź–∑–į–ľ–į—ā –Ę—É—Ä—É–ľ–Ī–Ķ–ļ–ĺ–≤
–ź–∑–į–ľ–į—ā –Ę—É—Ä—É–ľ–Ī–Ķ–ļ–ĺ–≤ - avatar
+ 2
–ź–∑–į–ľ–į—ā –Ę—É—Ä—É–ľ–Ī–Ķ–ļ–ĺ–≤ –Į –ī—É–ľ–į—é, –≤–į–ľ —Ā–Ľ–Ķ–ī—É–Ķ—ā –Ņ–ĺ–≤—ā–ĺ—Ä–ł—ā—Ć —É—Ä–ĺ–ļ –ł –≤—č—É—á–ł—ā—Ć –Ķ–≥–ĺ –Ķ—Č–Ķ —Ä–į–∑ .... –≠—ā–ĺ –Ņ—Ä–ĺ—Ź—Ā–Ĺ–ł—ā –≤–į—ą—É –ļ–ĺ–Ĺ—Ü–Ķ–Ņ—Ü–ł—é ...
9th Dec 2020, 3:27 PM
Aastha
Aastha - avatar
+ 1
–ü–ĺ–ľ–ĺ–∂–Ķ—ą—Ć –ľ–Ĺ–Ķ?
9th Dec 2020, 3:21 PM
–ź–∑–į–ľ–į—ā –Ę—É—Ä—É–ľ–Ī–Ķ–ļ–ĺ–≤
–ź–∑–į–ľ–į—ā –Ę—É—Ä—É–ľ–Ī–Ķ–ļ–ĺ–≤ - avatar
+ 1
–°–Ľ—É—ą–į–Ļ –į –ī–į–≤–į–Ļ –ī—Ä—É–∂–ł—ā—Ć
9th Dec 2020, 3:21 PM
–ź–∑–į–ľ–į—ā –Ę—É—Ä—É–ľ–Ī–Ķ–ļ–ĺ–≤
–ź–∑–į–ľ–į—ā –Ę—É—Ä—É–ľ–Ī–Ķ–ļ–ĺ–≤ - avatar
+ 1
?
9th Dec 2020, 3:25 PM
–ź–∑–į–ľ–į—ā –Ę—É—Ä—É–ľ–Ī–Ķ–ļ–ĺ–≤
–ź–∑–į–ľ–į—ā –Ę—É—Ä—É–ľ–Ī–Ķ–ļ–ĺ–≤ - avatar
+ 1
–Ě—É–∂–Ĺ–ĺ –∑–į–ľ–Ķ–Ĺ–ł—ā—Ć range(1, n) –Ĺ–į range(1, n, 2): n = int(input()) for x in range(1, n, 2): if x % 3 == 0 and x % 5 == 0: print("SoloLearn") elif x % 3 == 0: print("Solo") elif x % 5 == 0: print("Learn") else: print(x)
22nd Feb 2022, 7:05 PM
Andrew SAV
Andrew SAV - avatar
+ 1
–Ę–ĺ–∂–Ķ –Ņ—Ä–ĺ–Ī–Ľ–Ķ–ľ—č —Ā —ć—ā–ĺ–Ļ –∑–į–ī–į—á–Ķ–Ļ. –Ę—É—ā –Ĺ—É–∂–Ĺ–ĺ –≤–Ĺ–ł–ľ–į—ā–Ķ–Ľ—Ć–Ĺ–Ķ–Ķ —á–ł—ā–į—ā—Ć –ł —É—Ä–ĺ–ļ –Ņ–ĺ–≤—ā–ĺ—Ä—Ź—ā—Ć. –£–∂–Ķ –Ĺ–Ķ –į–ļ—ā—É–į–Ľ—Ć–Ĺ–ĺ, –Ņ–ĺ–Ĺ–ł–ľ–į—é, –Ĺ–ĺ —ć—ā–ĺ —Ź —Ā–ļ–ĺ—Ä–Ķ–Ķ –ī–Ľ—Ź —ā–Ķ—Ö, –ļ—ā–ĺ —Ā–Ķ–Ļ—á–į—Ā —Ä–Ķ—ą–ł—ā—Ć –Ĺ–Ķ –ľ–ĺ–∂–Ķ—ā —ć—ā–ĺ.
28th Jul 2022, 5:41 PM
Bocharova Viktoriya Olegovna
Bocharova Viktoriya Olegovna - avatar
0
–ź —ā—č –Ī—č –Ĺ–Ķ –ľ–ĺ–≥–Ľ–į –ĺ–Ī—ä—Ź—Ā–Ĺ–ł—ā –ľ–Ĺ–Ķ —ć—ā–ĺ –≤ –ļ—Ä–į—ā—á–į–Ļ—ą–ł–Ļ –Ņ—É—ā—Ď–ľ
9th Dec 2020, 3:30 PM
–ź–∑–į–ľ–į—ā –Ę—É—Ä—É–ľ–Ī–Ķ–ļ–ĺ–≤
–ź–∑–į–ľ–į—ā –Ę—É—Ä—É–ľ–Ī–Ķ–ļ–ĺ–≤ - avatar
0
ūüôŹ
9th Dec 2020, 3:30 PM
–ź–∑–į–ľ–į—ā –Ę—É—Ä—É–ľ–Ī–Ķ–ļ–ĺ–≤
–ź–∑–į–ľ–į—ā –Ę—É—Ä—É–ľ–Ī–Ķ–ļ–ĺ–≤ - avatar
0
–ü—Ä–ĺ—Ā—ā–ĺ –Ņ–ĺ—Ä–Ķ—ą–ł –ľ–Ĺ–Ķ –≤–ĺ—ā —ć—ā—É –∑–į–ī–į—á—É n = int(input()) for x in range(1, n 2,): if x % 3 == 0 and x % 5 == 0: print("SoloLearn") elif x % 3 == 0: elif x % 3 == 0: print("Solo") elif x % 5 == 0: print("Learn") else: print(x)
9th Dec 2020, 3:34 PM
–ź–∑–į–ľ–į—ā –Ę—É—Ä—É–ľ–Ī–Ķ–ļ–ĺ–≤
–ź–∑–į–ľ–į—ā –Ę—É—Ä—É–ľ–Ī–Ķ–ļ–ĺ–≤ - avatar
0
–ė–≤–į–Ĺ –ß–ł–ļ—É–Ĺ–ĺ–≤, —Ā–Ņ–į—Ā–ł–Ī–ĺ –≤–į–ľ –Ī–ĺ–Ľ—Ć—ą–ĺ–Ķ –≤—č –ľ–Ĺ–Ķ –ĺ—á–Ķ–Ĺ—Ć –Ņ–ĺ–ľ–ĺ–≥–Ľ–ł, —Ā –Ņ–ĺ–ľ–ĺ—Č—Ć—é –≤–į—Ā —Ź —Ä–Ķ—ą–ł–Ľ –Ĺ–į–ļ–ĺ–Ĺ–Ķ—Ü —ć—ā—É –∑–į–ī–į—á—É, –Ĺ–ĺ –≤—Ā—Ď —ā–į–ļ–ł –ľ–ĺ–∂–Ķ—ā–Ķ –ĺ–Ī—ä—Ź—Ā–Ĺ–ł—ā—Ć –ľ–Ĺ–Ķ, –į —ā–ĺ —Ź –Ĺ–Ķ –ĺ—á–Ķ–Ĺ—Ć —Ö–ĺ—Ä–ĺ—ą–ĺ –Ņ–ĺ–Ĺ—Ź–Ľ!?ūüôŹ
9th Dec 2020, 3:49 PM
–ź–∑–į–ľ–į—ā –Ę—É—Ä—É–ľ–Ī–Ķ–ļ–ĺ–≤
–ź–∑–į–ľ–į—ā –Ę—É—Ä—É–ľ–Ī–Ķ–ļ–ĺ–≤ - avatar
0
–≠—ā—É –∑–į–ī–į—á—É?
9th Dec 2020, 3:50 PM
–ź–∑–į–ľ–į—ā –Ę—É—Ä—É–ľ–Ī–Ķ–ļ–ĺ–≤
–ź–∑–į–ľ–į—ā –Ę—É—Ä—É–ľ–Ī–Ķ–ļ–ĺ–≤ - avatar