This repository contains multiple Python projects. Each project addresses different tasks and demonstrates various programming concepts.
This project provides a simple BMI (Body Mass Index) calculator. It allows users to input their weight and height and then calculates their BMI. It also classifies the calculated BMI into different categories such as "Underweight," "Normal weight," "Overweight," or "Obese."
To use the BMI calculator:
- Run the
task1.pyfile. - Enter your weight in kilograms when prompted.
- Enter your height in centimeters when prompted.
- The program will calculate your BMI and display the result along with your BMI category.
This project generates random passwords based on user preferences. Users can specify the length of the password and choose whether to include letters, numbers, and symbols in the generated password.
To use the password generator:
- Run the
task2.pyfile. - Enter the desired length for the password.
- Choose whether to include letters, numbers, and symbols by entering 'y' for yes or 'n' for no when prompted.
- The program will generate a random password based on the provided preferences and display it.
This project implements a simple chat server and client using sockets and threading in Python. The server allows multiple clients to connect simultaneously and communicate with each other.
- Start the server by running the
task3_server.pyfile. - Start the client by running the
task3_client.pyfile. (must run in an separate python environment) - Follow the instructions to send and receive messages between clients.