How to Write a Chain Adding Function in Python | Hacker News Reader