Posts by Pedro Thomaz • 11 points
1 post
-
-2
votes1
answer56
viewsQ: Perform function according to dictionary key
I want the user to choose an option and according to the chosen option the system performs a specific function. I wanted a more generic solution without a lot of if, elif and else. I thought of…