Welcome to College Python Lab File! This repository contains Python programs assigned by our college professors. It is designed to help students practice Python programming concepts and problem-solving skills.
- About
- Contents
- Installation
- How to Use
- Latest Lab Exercises Added
- Contributing
- License
- Debjyoti Adhikari - Programs (Assignments from Previous Professor)
- Subhodeep Moitra - Programs (Assignments from New Professor)
This repository includes various Python programs assigned by our college professors. The goal is to provide practice for students in key Python programming concepts and tasks.
The repository includes solutions for the following problems:
- Armstrong number check.
- Palindrome number check (manual method).
- Summing elements in a list.
- Finding the maximum and minimum elements in a list.
- Reversing a string.
- Binary search in a list.
To use the files in this repository, you need to have Python installed on your local machine. You can download the latest version of Python here.
- Clone the repository:
git clone https://github.com/ShadowAmitendu/collegePythonLabFile.git
- Navigate to the folder:
cd collegePythonLabFile - Run any of the Python scripts:
python filename.py
Each Python file in this repository represents a solution to a lab task. You can run the programs directly from the command line or in any Python environment (e.g., VS Code, PyCharm, etc.).
- The programs will prompt you for input (e.g., a number or a list), and based on your input, they will display the result.
- Follow the instructions in each program for input format and usage.
The following Python scripts have been recently added:
armstrong.py- Checks for Armstrong numbers.palindrome.py- Checks if a number is a palindrome.sum_list.py- Finds the sum of elements in a list.max_min_list.py- Finds the maximum and minimum elements in a list.reverse_string.py- Reverses a given string.binary_search.py- Performs binary search on a sorted list.
Contributions are welcome! If you want to contribute by improving code, adding new features, or optimizing existing ones, please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch). - Make your changes and commit them (
git commit -m "Description of changes"). - Push to the branch (
git push origin feature-branch). - Open a pull request, and your changes will be reviewed.
This repository is licensed under the MIT License. See the LICENSE file for more details.
The programs provided by Debjyoti Adhikari were assigned as homework for students before he left the college. These assignments are included here as examples of typical lab exercises.
The programs created by Subhodeep Moitra were assigned to students while he was transitioning into his role as a new professor. These are included here as part of the coursework.