summaryrefslogtreecommitdiffhomepage
path: root/ru-ru/python-ru.html.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'ru-ru/python-ru.html.markdown')
-rw-r--r--ru-ru/python-ru.html.markdown8
1 files changed, 4 insertions, 4 deletions
diff --git a/ru-ru/python-ru.html.markdown b/ru-ru/python-ru.html.markdown
index 162675bb..ec4fff41 100644
--- a/ru-ru/python-ru.html.markdown
+++ b/ru-ru/python-ru.html.markdown
@@ -238,13 +238,13 @@ d, e, f = 4, 5, 6
# Обратите внимание, как легко поменять местами значения двух переменных
e, d = d, e # теперь d == 5, а e == 4
-#take input of integers in a single line
-#if input 1 2 3
-input = map(int,raw_input().split()) #integer
+#принять ввод чисел в одной строке
+#если вход 1 2 3
+input = map(int,raw_input().split()) #целое число
input #=>[1, 2, 3]
-input = map(str,raw_input().split()) #string
+input = map(str,raw_input().split()) #строка
input #=>['1', '2', '3']