Adds a small demonstration of a Python class, User, with follower and following counters.
src/main.py: the User class and a main() that shows follow() updating both users' counters
README.md: what the example shows, how to run it (python src/main.py) and the expected output
The plan was waived by the Product Owner in chat for this request (a demo only, so no planning, milestone or tests); the commit used ALLOW_UNPLANNED=1 for the plan-first gate. There are no issues to close.
Note: both demo users have the username Tirsvad, as in the original course snippet.
Adds a small demonstration of a Python class, `User`, with follower and following counters.
- `src/main.py`: the `User` class and a `main()` that shows `follow()` updating both users' counters
- `README.md`: what the example shows, how to run it (`python src/main.py`) and the expected output
The plan was waived by the Product Owner in chat for this request (a demo only, so no planning, milestone or tests); the commit used `ALLOW_UNPLANNED=1` for the plan-first gate. There are no issues to close.
Note: both demo users have the username `Tirsvad`, as in the original course snippet.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Adds a small demonstration of a Python class,
User, with follower and following counters.src/main.py: theUserclass and amain()that showsfollow()updating both users' countersREADME.md: what the example shows, how to run it (python src/main.py) and the expected outputThe plan was waived by the Product Owner in chat for this request (a demo only, so no planning, milestone or tests); the commit used
ALLOW_UNPLANNED=1for the plan-first gate. There are no issues to close.Note: both demo users have the username
Tirsvad, as in the original course snippet.