Processor means to break down something.
The answer is chope this helps
Answer:
Explanation:
We have the following
t is the number of test cases.
n is the number of trips for each testcase
name is the name of the city
all the unique names are added to the list and at last the length of the list is printed.
The program is written as follows
t = int(input) - for i in range(t): n = int(input) 1 = [] for j in range(n): name = input if name not in l: 1.append(name) pr
t = int(input())
for i in range(t):
n = int(input())
l = []
for j in range(n):
name = input()
if name not in l:
l.append(name)
print(len(l))
Output: