Simple Python Calculator using a Dictionary and Functions for Operators

Share:

Listens: 0

Young Programmers Podcast

Education


This lesson creates a simple calculator using a dictionary to look up functions for operators. The point is to practice more with dictionaries, and to learn about higher-order functions.Source code