Combine Two Groups
Python
10 pts
Combine Two Groups
Two study groups are stored in tuples. Create class_list by joining group_a and group_b (in that order) with +.
Print class_list and then its length.
Expected output:
('Selam', 'Abel', 'Merhawi', 'Ruta')
4
Checklist
- Keep both groups unchanged and create
class_listby joininggroup_aandgroup_b, in that order. - Print
class_listand then its length.
🔑 Solution
If you view the solution before passing, you earn half points for this exercise. You still need to type it and press Check to finish.
How it works, step by step
Point at a step to highlight its lines. Type the solution yourself and press Check answer to finish.
