Cours
Cours
Compilateur de code
Compilateur de code
Discuter
Tarification
Équipes
Se connecter
S'inscrire
Menu
Discussions Q&R
Chercher
Chercher
Poser une question
Poser une question
def modify_last(txt, n): s=txt[:] d=txt[-1]*n s,d=gather return "".join(gather) modify_last("Hello", 3) #➞ "Hello
python.string
0 Vote
5 Réponses
9th Oct 2020, 12:20 PM
ÄKoderj
n = int(input()) for x in range(1, n): if x % 3 == 0 and x % 5 == 0: print("SoloLearn") elif x % 3 == 0:
@python
-1 Vote
14 Réponses
3rd Jun 2021, 12:14 PM
Gold samuel
Please is to be added or removed from this code n = int(input()) for x in range(1, n): if x % 3 == 0 and x % 5 == 0:
@python
0 Vote
10 Réponses
4th Jan 2023, 1:04 AM
Ohanenye Kennedy
n = int(input()) for x in range(1, n): if x % 3 == 0 and x % 5 == 0: print("SoloLearn") elif x % 3 == 0:
a
-1 Vote
2 Réponses
5th Dec 2020, 7:44 AM
Augustine Ansah Owusu
Can you help me in this code?
%
==
0
3
and
for
if
in
int(input())
n):
n=
range(1,
x
x
x
-4 Votes
9 Réponses
17th Jun 2021, 6:44 PM
zoro
Poser une question
Poser une question
Aujourd'hui en vedette
Can i get my old account back? I had deleted it :(
2 Votes
HTML
1 Votes
Formating in python
0 Votes
How to have a helper function in a class ,without getting a warning of (self expected as the first parameter )
1 Votes
Could you ple ase help me???
0 Votes
Header, Main, Footer
0 Votes
Who’s been using this app for 7+ years
0 Votes
Wifi Password
0 Votes
How to grow in sololearn
0 Votes
Which frameworks for best performance rendering edge points for images?
2 Votes