Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a 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 Votes
5 Answers
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 Answers
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 Votes
10 Answers
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 Answers
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 Answers
17th Jun 2021, 6:44 PM
zoro
Ask a question
Ask a question
Ask a question
Ask a question
Hot today
How to allow one instance of exe
2 Votes
Reverse observer pattern : remove dynamic_cast
2 Votes
What has happened?
1 Votes
Theater management help me
2 Votes
Python
1 Votes
What should I add/improve ?
1 Votes
Should You Specialize or Diversify in Programming?
1 Votes
Tools for web design?
1 Votes
Flight tracker coding foundation help me
1 Votes
Remove raw pointer from observer design pattern
0 Votes