How to Use Dictionaries as an Alternative to If-Else

How to Use Dictionaries as an Alternative to If-Else

Create a Cleaner Code of If-Else Functions with Dictionaries