This repository contains various Python projects, ranging from beginner to intermediate level. Below is a description of each project and its functionality.
A simple program that takes two numbers as input from the user and displays their sum.
A basic program that prints "Hello World!" to the console.
A program to find the square root of a given number using the math module.
This program calculates the area of a triangle when the base and height are provided.
A program to solve a quadratic equation and find its roots using the discriminant formula.
This project swaps the values of two variables without using a temporary variable.
A simple program to generate a random number between a specified range using the random module.
This program converts a given distance in kilometers to miles.
A simple temperature converter that converts Celsius to Fahrenheit.
This program checks whether a given number is positive, negative, or zero.
A program to determine if a number is odd or even.
This project checks if a given year is a leap year.
A program to find the largest number among three user-provided numbers.
This project checks if a given number is a prime number.
A program that prints all prime numbers within a specified range.
This program calculates the factorial of a given number.
A simple program to display the multiplication table for a number provided by the user.
A program to print the Fibonacci sequence up to a certain number of terms.
This project checks if a number is an Armstrong number.
A program to find all Armstrong numbers in a specified interval.
This program calculates the sum of the first n natural numbers.
A project to display powers of 2 using a lambda function.
A program to find all numbers divisible by a specified number in a given range.
This project converts a decimal number to its binary, octal, and hexadecimal equivalents.
A simple program to find the ASCII value of a character.
This program calculates the Highest Common Factor (HCF) or Greatest Common Divisor (GCD) of two numbers.
A project to find all factors of a given number.
This project implements a basic calculator that performs addition, subtraction, multiplication, and division.
A program to shuffle a deck of cards using the itertools and random modules.
A project that displays the calendar of a given month and year using the calendar module.
This program prints the Fibonacci sequence using recursion.
A project to find the sum of natural numbers using recursion.
This program calculates the factorial of a number using recursion.
A project to convert a decimal number to binary using recursion.
This project adds two matrices of the same dimensions.
A program to transpose a given matrix.
This project multiplies two matrices of appropriate dimensions.
A program to check if a given string is a palindrome.
A program to remove all punctuations from a given string.
This project sorts the words in a string in alphabetical order.
A program to demonstrate various set operations such as union, intersection, and difference.
This project counts the occurrences of each vowel in a given string.
A program that uses the PIL library to find the resolution of an image.
This project merges two dictionaries into one.
A program to safely create nested directories using os.makedirs().
A project to demonstrate how to access the index of elements in a list using a for loop.
A program that demonstrates various list slicing techniques.
This project demonstrates how to iterate over a dictionary’s keys and values.
A program to sort a dictionary by its values.
This project checks if a list is empty.
A program to demonstrate how to catch multiple exceptions in a single line.
This project uses the shutil module to copy files.
A program to concatenate two lists into one.
This project checks whether a given key exists in a dictionary.
A program to parse a string into a float or integer.
This project converts a string representation of a date to a datetime object.
A simple program to get the last element of a list.
This project extracts a substring from a string using start and end indices.
A program to print output without adding a newline.
This project reads a file’s contents line by line and stores them in a list.
A program to randomly select an element from a list using the random module.
This project checks whether a string can be converted to a floating-point number.
A program to count the occurrences of a specific item in a list.
This project appends text to an existing file.
A program to delete an element from a dictionary by key.
This project creates and displays a long multiline string.
A program to extract the extension from a file name.
This project uses the time module to measure the elapsed time of a program.
A program to retrieve and display the class name of an instance.
This project converts two lists into a dictionary where one list contains keys and the other contains values.
A project that explains the difference between the type() function and the isinstance() function.
A program to remove leading and trailing whitespace from a string.
This project extracts and displays the file name from a file path.
A project to demonstrate how to use the enum module to define enumerations.
This project shows how to return multiple values from a function.
A program that counts and displays the number of lines in a file.
This project finds and lists all .txt files in a specified directory.
A program to display the full path of the current working directory.
This project demonstrates how to iterate through two lists simultaneously using zip().
A program to check and display the size of a file in bytes.
This project reverses the digits of a given number.
A program that computes and displays the result of raising a number to a certain power.
This project counts the number of digits in a given number.
A program to check if two strings are anagrams of each other.
This project capitalizes the first character of a given string.
A program to create a simple countdown timer.
This project counts how many times a specific character appears in a string.
A program to remove duplicate elements from a list and display the unique values.
This project converts a byte object into a string.
A project to create a simple to-do list where users can add, remove, and view tasks.
This program simulates rolling a dice and displays the result.
A temperature converter that converts between Celsius and Fahrenheit.
This project checks the strength of a user-provided password based on certain criteria (length, character types).
A program that generates a random password of a specified length.
A simple quiz game where users answer multiple-choice questions and receive a score at the end.
This project calculates the Body Mass Index (BMI) based on user-provided weight and height.
A fun number guessing game where the user tries to guess a randomly generated number.
A program to create a countdown timer that counts down from a specified number of seconds.
A simple contact book application where users can add, remove, and view contacts.
A dice rolling program where the probability of rolling a six is higher than other numbers.