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")`
    


    1. where you have a code of 3 lines read (in fact 3) input?
    2. Where do you have in your code the withdrawal of the lines you've written into the variables?
    3. Why do you withdraw any left texts, not what's been obtained with the team? input?

    Example:

    text1 = input('введите первую строку: ')
    #какой-то код
    print(text1) # вывод первой строки
    

Log in to reply
 

Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2