menu
Qamnty
Login
Register
My account
Edit my Profile
Private messages
My favorites
Given a string, return a new string made of 3 copies of the last 2 chars of the original string. The string length will be at least 2. extra_end('Hello') → 'lolol…
Ask a Question
Questions
Unanswered
Tags
Ask a Question
Given a string, return a new string made of 3 copies of the last 2 chars of the original string. The string length will be at least 2. extra_end('Hello') → 'lolol…
asked
Mar 2, 2021
123k
views
3
votes
Given a string, return a new string made of 3 copies of the last 2 chars of the original string. The string length will be at least 2. extra_end('Hello') → 'lololo' extra_end('ab') → 'ababab' extra_end('Hi') → 'HiHiHi'
Computers & Tech
high-school
Zahmati
asked
by
Zahmati
7.5k
points
answer
comment
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
7
votes
Answer:
def extra_end(str):
return 3*(str[-2:])
Step-by-step explanation:
Vishnu Shekhawat
answered
Mar 6, 2021
by
Vishnu Shekhawat
7.8k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
← Prev Question
Next Question →
Related questions
asked
Sep 13, 2021
163k
views
Pendulum earth air lololo
Dfarrelly
asked
Sep 13, 2021
by
Dfarrelly
8.7k
points
Physics
high-school
2
answers
3
votes
163k
views
asked
Jun 11, 2021
54.0k
views
68=u-11 need help lololo
DTRT
asked
Jun 11, 2021
by
DTRT
8.5k
points
Mathematics
college
2
answers
2
votes
54.0k
views
asked
Feb 2, 2023
56.4k
views
Whast 9 + 10 ? lol so is make me put big word here lololo
Sammy Patenotte
asked
Feb 2, 2023
by
Sammy Patenotte
8.2k
points
Business
high-school
1
answer
9
votes
56.4k
views
Ask a Question
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.
Categories
All categories
Mathematics
(3.7m)
History
(955k)
English
(903k)
Biology
(716k)
Chemistry
(440k)
Physics
(405k)
Social Studies
(564k)
Advanced Placement
(27.5k)
SAT
(19.1k)
Geography
(146k)
Health
(283k)
Arts
(107k)
Business
(468k)
Computers & Tech
(195k)
French
(33.9k)
German
(4.9k)
Spanish
(174k)
Medicine
(125k)
Law
(53.4k)
Engineering
(74.2k)
Other Questions
The book shows how to add and subtract binary and decimal numbers. However, other numbering systems are also very popular when dealing with computers. The octal (base 8) numbering system is one of these.
describe an advance in technology that makes life more enjoyable. what discoveries contribute to this technology?
Disadvantages of using animation in advertising? advantages and disadvantages of using animation for education? advantages and disadvantages of using animation in entertainment?
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search Qamnty