Is Ruta a Member?
Python
10 pts
Is Ruta a Member?
The set members holds the members of the football club.
- Create
is_abel—TrueorFalse, depending on whether"Abel"is inmembers. Usein. - Create
is_rutain the same way for"Ruta". - Print both variables.
Expected output:
True False
Checklist
- Keep
membersunchanged and createis_abelwithin. - Create
is_rutain the same way. - Print both variables.
🔑 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.
