Skip to content

Akash82945/python-practice-programs

Repository files navigation

Python Practice Programs 🐍

This repository contains my Python practice programs while learning programming and building problem-solving skills.

📚 Topics Covered

  • Python Basics
  • Conditional Statements (if-else)
  • Loops (for, while)
  • Functions
  • Lists and Strings
  • Basic Logic Building Programs

🎯 Purpose

The goal of this repository is to improve my Python coding skills, develop logical thinking, and practice programming regularly.

📂 Structure

Programs are organized day-wise and topic-wise for better understanding.

Example:

🔁 Level – Bacis (Completed ✅)

  1. Two numbers ka sum print karo.
  2. Two numbers ka difference print karo.
  3. Two numbers ka multiplication karo.
  4. Two numbers ka division karo.
  5. Number even hai ya odd check karo.
  6. Number positive, negative ya zero check karo.
  7. 3 numbers me largest number find karo.
  8. 3 numbers me smallest number find karo.
  9. User se number lo aur uska square print karo.
  10. User se number lo aur uska cube print karo.

🔁 Level 2 – Loops Practice (Completed ✅)

These programs help in understanding loops and iteration in Python.

  1. Print numbers from 1 to 10.
  2. Print numbers from 1 to n.
  3. Find the sum of numbers from 1 to n.
  4. Print multiplication table from 1 to 10.
  5. Print the multiplication table of any number.
  6. Print even numbers from 1 to 100.
  7. Print odd numbers from 1 to 100.
  8. Find the average of numbers from 1 to n.
  9. Print reverse counting (10 to 1).
  10. Print the Fibonacci series.

🧠 Level 3 – Logic Building (Completed ✅)

These programs help in building strong logical thinking in Python.

  1. Factorial program
  2. Prime number check
  3. Palindrome number check
  4. Reverse a number
  5. Count digits in a number
  6. Sum of digits of a number
  7. Armstrong number check
  8. Find the largest digit in a number
  9. Find the smallest digit in a number
  10. Random number guessing game

📋 Level 4 – List / Array Practice (Completed ✅)

These programs help in understanding Python lists and basic data manipulation.

  1. Find the largest number in a list
  2. Find the smallest number in a list
  3. Calculate the sum of list elements
  4. Calculate the average of list elements
  5. Reverse a list
  6. Find duplicate numbers in a list
  7. Print even numbers from a list
  8. Print odd numbers from a list
  9. Sort a list
  10. Find the second largest number in a list

🔤 Level 5 – String Practice (Completed ✅)

These programs focus on string manipulation and text processing in Python.

  1. Reverse a string
  2. Check if a string is a palindrome
  3. Count vowels in a string
  4. Count words in a sentence
  5. Convert uppercase letters to lowercase
  6. Convert lowercase letters to uppercase
  7. Count characters in a string
  8. Find the longest word in a sentence
  9. Remove spaces from a string
  10. Build a simple password strength checker

⚙️ Level 6 – Functions Practice (Completed ✅)

Focus Reusable code, parameters, return values

  1. Function to find maximum of three numbers
  2. Function to calculate factorial
  3. Function to check prime number
  4. Function to generate Fibonacci series
  5. Function to find sum of digits
  6. Function to check palindrome number
  7. Function to return largest number in a list
  8. Function to count vowels in a string
  9. Function to calculate LCM
  10. Function to calculate GCD

⚙️ Level 7 – Advance Logic Problem (Completed ✅)

  1. Two Sum Problem.
  2. Find Second Largest Number in Array.
  3. Find Missing Values in Array.
  4. Find Anagram String .
  5. Find Duplicate Number in Array.
  6. Count Frequency fo Element.
  7. Rotate List by K Number.
  8. Merge Two Sorted List.
  9. Remove Duplicate Number Form List.
  10. Find Longest Word in Sentence.

⚙️ Level 8 – File Handling ( Completed. )

  1. Create File and Write Content.
  2. Read Content from File.
  3. Count Words in File.
  4. Count Lines from File.
  5. Count Characters in File.
  6. Copy Content form one file to Another File.
  7. Append text to File.
  8. Find most frequent word in File.
  9. Replace word in File.
  10. Create simple Log System.

⚙️ Level 9 – OOPs ( Completed. )

  1. Create Student Class.
  2. Calculate area of rectange.
  3. Class of bank account.
  4. Car Class.
  5. Employee Class.
  6. Inheritance Class.
  7. Overriging Method.
  8. Constructor Example.
  9. Libraby Management Class.
  10. Simple calculater class.

⚙️ Level 10 – Mini Projects ( Completed. )

  1. Number Guessing Game.
  2. Password Generator.
  3. Simple Calculater.
  4. To Do list.
  5. Contact Book.
  6. Quize Game.
  7. File Search.
  8. Dice Rolling Simmulator.
  9. Student Management System.

⚙️ Level 11 – Python Library ( Completed. )

  1. Random Library.
  2. Math Library.
  3. Datetime Library.
  4. Time Library.
  5. OS Library.
  6. Shutil Library.
  7. Pathlib Library.
  8. Json Library.
  9. Requests Library.
  10. BeautifulSoup Library.

⚙️ Level 11 – Modrate Projects ( In Progress. )

  1. .
  2. .
  3. .
  4. .
  5. .
  6. .
  7. .
  8. .
  9. .
  10. .

Status: In Progress next Questions


🚀 Learning Journey

I am continuously practicing Python and uploading new programs to track my progress.


⭐ Feel free to explore the programs and follow my coding journey!

About

Collection of 100+ Python programs, coding challenges, and mini projects covering OOP, file handling, data structures, and algorithms. Designed to enhance problem-solving and software development skills through hands-on practice.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors