PROGRAMMING:Duplicate element lookup
If only one element appears twice in each list, the list will be judged to contain duplicate elements.
Programming: n-line string processing, a line of strings constitute a list. The program determines whether each list contains duplicate elements. Finally, count the number of rows with duplicate elements and the number of rows without duplicate elements.
###Input format:
Enter n to enter n lines of string.
Then enter n lines of string, and the elements between the strings are separated by spaces.
###Output format:
True = number of rows containing duplicate elements
False = number of rows without duplicate elements
###Input example:
```in
five
1 a 3 c 5
a 3 c 5 d
b 2 3 b 1
x 2 w 2 w
a 1 1 1 1
```
###Output example:
```out
True= 3
False= 2
```
answer:If there is no answer, please comment
Programming: n-line string processing, a line of strings constitute a list. The program determines whether each list contains duplicate elements. Finally, count the number of rows with duplicate elements and the number of rows without duplicate elements.
###Input format:
Enter n to enter n lines of string.
Then enter n lines of string, and the elements between the strings are separated by spaces.
###Output format:
True = number of rows containing duplicate elements
False = number of rows without duplicate elements
###Input example:
```in
five
1 a 3 c 5
a 3 c 5 d
b 2 3 b 1
x 2 w 2 w
a 1 1 1 1
```
###Output example:
```out
True= 3
False= 2
```
answer:If there is no answer, please comment