A collection of fundamental Python exercises showcasing classic programming challenges and their solutions.
Welcome to ClassicPythonExercises! This repository is a collection of fundamental programming challenges solved using Python. Whether you're a beginner looking to understand core concepts or someone who just loves revisiting classic problems, this is the place for you.
Contents:
- Factorial Calculation: A script to compute the factorial of a number.
- Fibonacci Series: Print the first ten numbers of the Fibonacci sequence.
- Swapping Numbers: A neat trick to swap values of two variables without temporary storage.
- String Reversal: Reverse the order of words in a given string.
- Prime Number Checker: Determine if a number is prime.
- Armstrong Number Checker: Validate if a number is an Armstrong number.
- Value and Reference Demonstration: Understand the difference between call by value and call by reference in Python.
- Second Largest Finder: Find the second largest number in a list.
- Palindrome Verifier: Check if a number is a palindrome.
- Number Pattern: Display a right-angled triangle pattern with increasing numbers.
- Pascal's Triangle: Visualize Pascal's triangle for a given number of rows.
- Matrix Multiplication: Multiply two matrices using the numpy library.