Skip to content

ShadowAmitendu/collegePythonLabFile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

College Python Lab File

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.

Table of Contents


About

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.


Contents

The repository includes solutions for the following problems:

  1. Armstrong number check.
  2. Palindrome number check (manual method).
  3. Summing elements in a list.
  4. Finding the maximum and minimum elements in a list.
  5. Reversing a string.
  6. Binary search in a list.

Installation

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.

Steps:

  1. Clone the repository:
    git clone https://github.com/ShadowAmitendu/collegePythonLabFile.git
  2. Navigate to the folder:
    cd collegePythonLabFile
  3. Run any of the Python scripts:
    python filename.py

How to Use

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.

Latest Lab Exercises Added

The following Python scripts have been recently added:

  1. armstrong.py - Checks for Armstrong numbers.
  2. palindrome.py - Checks if a number is a palindrome.
  3. sum_list.py - Finds the sum of elements in a list.
  4. max_min_list.py - Finds the maximum and minimum elements in a list.
  5. reverse_string.py - Reverses a given string.
  6. binary_search.py - Performs binary search on a sorted list.

Contributing

Contributions are welcome! If you want to contribute by improving code, adding new features, or optimizing existing ones, please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-branch).
  3. Make your changes and commit them (git commit -m "Description of changes").
  4. Push to the branch (git push origin feature-branch).
  5. Open a pull request, and your changes will be reviewed.

License

This repository is licensed under the MIT License. See the LICENSE file for more details.


Debjyoti Adhikari - Programs (Assignments from Previous Professor)

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.

Subhodeep Moitra - Programs (Assignments from New Professor)

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.

About

This repository contains Python programs assigned by our college professors

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages