5 Best Ways to Reverse a Python Dictionary

Problem Formulation and Solution Overview In this article, you’ll learn how to reverse a Dictionary in Python. To make it more fun, we have the following running scenario: We have a Python Dictionary containing three (3) users who are signed up at the Finxter Academy. The current key:value pairs consist of username:id. The owner would … Read more

How to Extract Numbers from a String

Problem Formulation and Solution Overview In this article, you’ll learn how to extract numbers from a string in Python. To make it more fun, we have the following running scenario: This article references an Albanian proverb written by Driton Selmani in 2012. We will leave the interpretation up to you. 💬 Question: How would we … Read more

How to Add a Column to a CSV

Problem Formulation and Solution Overview In this article, you’ll learn how to add a new column to a CSV file in Python. To make it more fun, we have the following running scenario: The owner of the Finxter Academy has asked you to add a new column to their existing CSV file called Total_Chrgs. 💬 … Read more

How to Access a Dictionary Key by Index

Problem Formulation and Solution Overview In this article, you’ll learn how to access a Dictionary key by index in Python. To make it more fun, we have the following running scenario: Rivers Clothing has a list of Employees. They would like to find the name of their youngest staff member. They know this person is … Read more

How to Count Vowels in a String

Problem Formulation and Solution Overview In this article, you’ll learn how to count the number of vowels in a string. To make it more fun, we have the following running scenario: In Canada, we have a province called Saskatchewan. This province has a large amount of flat land. In this article, we reference their local … Read more

How to Find Max Value in Dictionary

Problem Formulation and Solution Overview In this article, you’ll learn how to find the maximum value in a Python dictionary. To make it more fun, we have the following running scenario: You are in the market for a car and have narrowed the search to a few possibilities. Your final choice will be based on … Read more