nums = input("Enter the list numbers seperated by comma: ").split(",") count = {} for i in nums: count[i] = count.get(i, 0) + 1 print("Total occourances of each element in the list is stored in the dictionary as: ", count) emp_info = input("Enter the employee id and performance in 5 projects seperated by space, the employees are seperated by comaa: ").split(",") emp_dict = {} for i in range(len(emp_info)): emp_info[i] = emp_info[i].split(" ") for emp in emp_info: emp_dict[emp[0]] = (sum(int(i) for i in emp[1:])) / (len(emp) - 1) print(emp_dict) names = input("Enter the names of the footballers: ").split(",") name_dict = {} for name in names: name_dict[name] = len(name) print("The lengths of the names are: ", name_dict) bike_info = input("Enter bike information: ").split(",") bike_dict = {} for i in range(len(bike_info)): bike_info[i] = bike_info[i].split(" ") for bike in bike_info: if bike_dict[bike[0]] = null: bike_dict[bike[0]] bike_dict[bike[0]].append(bike[4]) print(bike_dict) athlete_info = input("Enter athlete id, sport, coach name and score: ").split(",") athlete_dict = {} coach_count = {} for i in range(len(athlete_info)): athlete_info[i] = athlete_info[i].split(" ") for athlete in athlete_info: athlete_dict[athlete[0]] = athlete[1:] coach_count[athlete[2]] = coach_count.get(athlete[2], 0) + 1 print("The athlete info is: ", athlete_dict, "and the unique coaches are: ", coach_count)