Week1 = [] Week2 = [] print("開始します。1週目の平日or休日を入力してください。") for i in range(7): Week1.append(str(input())) print("次に2週目の平日or休日を入力してください。") for k in range(7): Week2.append(str(input())) CircleNumOfWeek1 = Week1.count("〇") CircleNumOfWeek2 = Week2.count("〇") if(CircleNumOfWeek1 >= CircleNumOfWeek2): print(CircleNumOfWeek1) elif(CircleNumOfWeek2 >= CircleNumOfWeek1): print(CircleNumOfWeek2) else: print(CircleNumOfWeek1)