Answer:
Following is the python code to get three lines from user:
print("Enter the first row.")
#TODO - Implement. Write code to get the first line from the user.
# An example input line: X - O
firstLine = input();
# In this example, the first entry is X, the second entry is -, indicating blank, and the third entry is O
print("Enter the second row.")
# TODO - Implement
secondLine = input();
print("Enter the third row.")
# TODO - Implement
thirdLine = input();
Output:
Enter the first row.
X - O
Enter the second row.
Y - O
Enter the third row.
Z - O
Step-by-step explanation:
In python input() function is used to take input from user. In the above code, the first entered line will be stored in variable firstLine, second line in the variable secondLine and third line in the variable thirdLine.