Python is a powerful general-purpose programming language.

Two way/reverse map

Question or problem about Python programming: I’m doing this switchboard thing in python where I need to keep track of who’s talking to whom, so if Alice –> Bob, then that implies that Bob –> Alice. Yes, I could populate two hash maps, but I’m wondering if anyone has an idea to do it with […]

Continue Reading