Question: Using Dictionary: To complete a project, 1 2 students ( S 1 to S 1 2 ) in a class are grouped into 3 groups
Using Dictionary: To complete a project, students S to S in a class are grouped into groups G to G Students are divided evenly in the sequence of their student IDs. Write a Python program named YourNameSIDLab py to complete below tasks:
Start with a list holding all student IDs, ieSSS Create this list with a for loop.
Use slice technique to separate students in different lists and assign them to each group in a dictionary as values.
Display the whole dictionary by print function.
Sample Program Output:
: : :
END
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
