https://github.com/abdullahrfa/140_python_basic_program
This repository contains a collection of 140+ Python programs covering a wide range of fundamental concepts and problem-solving techniques. It is designed to help beginners and intermediate learners strengthen their Python skills through hands-on practice.
https://github.com/abdullahrfa/140_python_basic_program
advanced-programs algorithms-and-problem-solving basic-python-programs checking-armstrong-numbers checking-if-a-number-is-prime dictionaries file-handling finding-factorial-using-recursion finding-happy-numbers finding-the-area-of-a-triangle functions-and-recursion generating-disarium-numbers generating-fibonacci-sequences lists matrix-addition multiplication object-oriented-programming transposition tuples
Last synced: about 2 months ago
JSON representation
This repository contains a collection of 140+ Python programs covering a wide range of fundamental concepts and problem-solving techniques. It is designed to help beginners and intermediate learners strengthen their Python skills through hands-on practice.
- Host: GitHub
- URL: https://github.com/abdullahrfa/140_python_basic_program
- Owner: AbdullahRFA
- Created: 2025-02-02T18:31:06.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-03-15T03:37:15.000Z (2 months ago)
- Last Synced: 2025-03-15T04:24:20.951Z (2 months ago)
- Topics: advanced-programs, algorithms-and-problem-solving, basic-python-programs, checking-armstrong-numbers, checking-if-a-number-is-prime, dictionaries, file-handling, finding-factorial-using-recursion, finding-happy-numbers, finding-the-area-of-a-triangle, functions-and-recursion, generating-disarium-numbers, generating-fibonacci-sequences, lists, matrix-addition, multiplication, object-oriented-programming, transposition, tuples
- Language: Python
- Homepage:
- Size: 87.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 140+ Python Programs for Practice
This repository contains a collection of **140+ Python programs** covering a wide range of fundamental concepts and problem-solving techniques. It is designed to help beginners and intermediate learners strengthen their Python skills through hands-on practice.
## 📌 About This Collection
This collection includes basic and intermediate Python programs that cover:
- **Basic Syntax and Operations**
- **Mathematical Computations**
- **Conditional Statements and Loops**
- **Functions and Recursion**
- **Working with Lists, Tuples, and Dictionaries**
- **File Handling**
- **Object-Oriented Programming**
- **Algorithms and Problem Solving**Each program is written in a simple and structured way to help learners understand key programming concepts effectively.
## 📂 Program Categories
Here are some of the topics covered:
1. **Basic Python Programs**
- Printing "Hello Python"
- Arithmetic operations (addition, division, etc.)
- Swapping variables with and without a temp variable2. **Mathematical Programs**
- Finding the area of a triangle
- Checking if a number is prime
- Generating Fibonacci sequences
- Finding factorial using recursion3. **Conversions and Computations**
- Converting kilometers to miles
- Converting Celsius to Fahrenheit
- Calculating LCM and HCF
- Finding the natural logarithm of a number4. **Data Structures & Operations**
- Sorting words in alphabetical order
- Finding the largest/smallest number in a list
- Removing empty lists from a list
- Cloning or copying lists5. **Advanced Programs**
- Checking Armstrong numbers
- Finding Happy numbers
- Generating Disarium numbers
- Matrix addition, multiplication, and transposition## 🚀 How to Use
1. Clone this repository:
```sh
git clone https://github.com/AbdullahRFA/140_Python_basic_program.git```
2. Navigate to the project directory:
cd python-practice
3. Run any Python script:
python program_name.py
# 📖 Who Can Use This?
• Beginners looking to get started with Python programming
• Students preparing for coding interviews
• Developers who want to brush up on Python concepts# 📢 Contributions
If you would like to contribute by adding more practice problems, feel free to fork this repository, make changes, and submit a pull request.
# 📜 License
This project is licensed under the MIT License – you are free to use and modify the code.
# Happy coding! 🚀
Replace `your-username` with your GitHub username before uploading it. Let me know if you need modifications! 🚀