Найти
-
Пользователи
Полная версия:
Эффект печатной машинки.
Начало
»
Python для новичков
»
Эффект печатной машинки.
1
2
Rodegast
Апрель 4, 2016 17:14:48
for
i
in
range
(
len
(
text
)):
stdout
.
write
(
text
[
i
])
Зачем так извращаться? Текст прекрасно итерируется:
for
x
in
text
:
sys
.
stdout
.
write
(
x
)
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