I'm confused.
-
Write a program that counts three lines in line and then turns them in the same sequence, each on a separate line.
Input format There are three lines at the entrance of the program, each on a separate line.
Output data format The programme should remove the lines in the same sequence, each on a separate line.
Note. Use the input team(s) to read the text, use the printed printer.
My decision is:
a = input() print("I was") print("born") print("this way") b = input() print("I love") print("Python") print("so much")`
-
- where you have a code of 3 lines read (in fact 3)
input
? - Where do you have in your code the withdrawal of the lines you've written into the variables?
- Why do you withdraw any left texts, not what's been obtained with the team?
input
?
Example:
text1 = input('введите первую строку: ') #какой-то код print(text1) # вывод первой строки
- where you have a code of 3 lines read (in fact 3)