Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
менять элементы массива, добавлять к имени " - молодец"
Natalia__krkrkr
Aug 4th, 2018
96
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.21 KB
| None
|
0
0
raw
download
clone
embed
print
report
names
=
[
"Кирилл"
,
"Оля"
,
"Михаил"
]
for
name
in
range
(
len
(
names
)
)
:
for
char
in
list
(
names
[
name
]
)
:
if
char
==
"а"
:
names
[
name
]
=
names
[
name
]
+
"-молодец"
print
(
names
)
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
product-categories-field-on-vendor-registrati...
PHP | 26 min ago | 5.27 KB
Untitled
Lua | 1 hour ago | 0.01 KB
Untitled
Lua | 2 hours ago | 13.15 KB
Free Giftcards Method
JavaScript | 3 hours ago | 1.06 KB
container_escape_shell
Bash | 4 hours ago | 2.79 KB
Changelly.com Exchange Exploit
JavaScript | 4 hours ago | 1.39 KB
CFM.js
JavaScript | 4 hours ago | 278.42 KB
2025-07-19_stats.json
JSON | 4 hours ago | 3.15 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!