@@ -0,0 +1,790 @@
+import os, string, csv%0A%0A%0A%0A%0A%0Adef initialization():%0A%0A    print(%22%5CnInput the name of a .csv with all of the values you want to check that each value does not exist more than once.%22)%0A    in1 = raw_input(%22%3E%3E%3E %22)%0A%0A    with open(in1, 'r') as infile:%0A        reader = csv.reader(infile)%0A    %0A        check_list = %5B%5D%0A        check_with_list = %5B%5D%0A        repeat_list = %5B%5D%0A        single_list = %5B%5D%0A%0A        for row in reader:%0A            check_list.append(row%5B0%5D)%0A        infile.close()%0A%0A    for i in check_list:%0A        x = check_list.count(i)%0A        print(%22Length for star %7B%7D: %7B%7D%22.format(i, x))%0A        if x %3E 1:%0A            repeat_list.append(i)%0A        else:%0A            single_list.append(i)%0A%0A%0A%0A#    print(repeat_list)%0A    print(len(repeat_list))%0A    print(len(single_list))%0A%0A%0Ainitialization()%0A%0A

Add files via upload