Skip to content

gurungsuresh13/ClassicPythonExercises

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

ClassicPythonExercises

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:

  1. Factorial Calculation: A script to compute the factorial of a number.
  2. Fibonacci Series: Print the first ten numbers of the Fibonacci sequence.
  3. Swapping Numbers: A neat trick to swap values of two variables without temporary storage.
  4. String Reversal: Reverse the order of words in a given string.
  5. Prime Number Checker: Determine if a number is prime.
  6. Armstrong Number Checker: Validate if a number is an Armstrong number.
  7. Value and Reference Demonstration: Understand the difference between call by value and call by reference in Python.
  8. Second Largest Finder: Find the second largest number in a list.
  9. Palindrome Verifier: Check if a number is a palindrome.
  10. Number Pattern: Display a right-angled triangle pattern with increasing numbers.
  11. Pascal's Triangle: Visualize Pascal's triangle for a given number of rows.
  12. Matrix Multiplication: Multiply two matrices using the numpy library.

About

Python solutions to classic exercises, from factorial calculations and Fibonacci sequences to matrix multiplication and pattern creation.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages