Change the Team
Python
15 pts
Change the Team
The tuple team holds three names. Abel has left the team and Ruta takes his place. Yonas also joins at the end.
- Replace
"Abel"with"Ruta". - Add
"Yonas"at the end. teammust still be a tuple when you finish.- Print
team.
Expected output:
('Selam', 'Ruta', 'Merhawi', 'Yonas')
Checklist
- Replace
"Abel"with"Ruta"in the team. - Add
"Yonas"at the end and make sureteamis still a tuple. - Print
team.
🔑 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.
