# How to count unique values inside a list in Python # taking an input listinput_list = [1, 2, 2, 5, 8, 4, 4, 8]  # taking an input listl1 = []  # taking an countercount = 0  # travesing the arrayfor item in input_list:    if item not in l1:        count += 1        l1.append(item)  # printing the outputprint("No of unique items are:", count)