Найти
-
Пользователи
Полная версия:
Строка
Начало
»
Центр помощи
»
Строка
1
Pam_pam
Дек. 8, 2016 11:19:30
Как в сделать вот такое:
Ввожу слова в строку: A = “Tomato Parrot Chicken”
Програма выдает обратный порядок символов:
otamot
torrap
nekcihc
noob_saibot
Дек. 8, 2016 11:26:41
A
=
"Tomato Parrot Chicken"
.
lower
()
print
(
'
\n
'
.
join
((
i
[::
-
1
]
for
i
in
A
.
split
())))
Pam_pam
Дек. 8, 2016 17:34:25
Спасибо
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here
.
Powered by
DjangoBB