• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu

Q&A Discussions

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
Gold samuel - avatar
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
Ohanenye Kennedy - avatar
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
Augustine Ansah Owusu - avatar
Can you help me in this code?
%==03andforifinint(input())n):n=range(1,xxx
-4 Votes
9 Answers
17th Jun 2021, 6:44 PM
zoro
Hot today
overloading operators << >>
1 Votes
how does this code function?
0 Votes
.
1 Votes
Default constructor and default assignment operator
0 Votes
Wishkit alternative for android
1 Votes
.
0 Votes
Hi
0 Votes
Issue in code
0 Votes
My question is about python?
0 Votes
i need to learn Coding
0 Votes