Ask for two things · Запроси две вещи
Ask for two things
Read a colour, then an animal. Print them on one line with a space between: for red and fox, print "red fox".
Each input() reads ONE line, so two things need two calls — and each needs its own variable, or the second overwrites the first.
Запрос двух вещей
Считайте цвет, затем животное. Выведите их на одной строке через пробел: для red и fox выведите "red fox".
Каждый вызов input() считывает ОДНУ строку, поэтому для двух вещей нужно два вызова — и у каждой должна быть своя переменная, иначе вторая перезапишет первую.
Read a colour, then an animal. Print them on one line with a space between: for red and fox, print "red fox". · Считайте цвет, затем животное. Выведите их на одной строке через пробел: для red и fox выведите "red fox".
Click Run to see the output here. · Нажмите Запустить, чтобы увидеть результат здесь.