The following dictionary contains some courses and the list of tutorials for each of them. [ ] _first_year_courses = { "

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

The following dictionary contains some courses and the list of tutorials for each of them. [ ] _first_year_courses = { "

Post by answerhappygod »

The Following Dictionary Contains Some Courses And The List Of Tutorials For Each Of Them First Year Courses 1
The Following Dictionary Contains Some Courses And The List Of Tutorials For Each Of Them First Year Courses 1 (41.46 KiB) Viewed 41 times
The following dictionary contains some courses and the list of tutorials for each of them. [ ] _first_year_courses = { "COMP1010": ["T15A", "T17A", "T18A"], "FINS1612": ["M11A", "W12A"], "FINS1613": ["T12A", "T12B", "F09A"], "ACCT1501": ["T10A", "F15A"], "INFS3605": ["M10A", "T15A", "W12A", "W12B"]} What is the first tutorial for COMP1010? [ ] Construct a list containing all the courses that have exactly 3 tutorials. You should get this as a result: ["COMP1010", "FINS1613"] [ ] Construct a list containing all the courses with a tutorial on a Tuesday (i.e. the tutorial code starts with a 'T'). You should get this as a result: ["COMP1010", "FINS1613", "ACCT1501", "INFS3605"] Hint: Depending on how you approach this, you may need a nested loop. [ ]
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply