A collection of 7 simple and useful Python function examples — each solving a real-world problem — perfect for practicing, organizing, and reusing code effectively. 🚀
-
🌡 Temperature Converter
Convert temperatures between Celsius and Fahrenheit. -
🔒 Password Strength Checker
Check if a password is strong based on length and character variety. -
🛒 Shopping Cart Total Calculator
Calculate the total cost of items in a cart, including quantities. -
🔄 Palindrome Checker
Check if a given string reads the same forwards and backwards. -
➗ Factorial Calculator (Recursion)
Calculate the factorial of a number using recursion. -
📂 Word Frequency Counter (File Reader)
Read a file and count the frequency of each word. -
📧 Email Validator
Validate whether a given email address is in the correct format.