Question: PYTHON: Use the input() method to get a list of lines, and see if any lines are the same. Print at the end if there
PYTHON:
Use the input() method to get a list of lines, and see if any lines are the same. Print at the end if there were lines that are duplicated. Continue the program until a blank line is given.
# please type your code here
# please type your code here
# please type your code here
if (lines_duplicate):
print("it's duplicate")
else
print("no duplicate")
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
