Kevin Tiller

Generation

code to explanationSat, 22 Apr 2023

dict = {"Fri": 20, "Thu": 6, "Sat": 1} dict["Thu"] = 13 dict["Sat"] = 2 dict["Sun"] = 9

The dictionary is used to hold the number of occurences of days in a week.

Want to kickstart your project?Use the new AI Studio to create your code