This Repository contains basic python projects for beginners
Problem Statement: Write a Python program that does the following:
- Takes two numbers as input from the user.
- Performs the basic mathematical operations on these two numbers:
- Addition
- Subtraction
- Multiplication
- Division
- Displays the results of each operation on the screen.
Num1 = float(input("Enter the first number : "))
Num2 = float(input("Enter the second number : "))
Addition = Num1 + Num2
Subtraction = Num1 - Num2
Multiplication = Num1 * Num2
Division = Num1 / Num2
print("Addition : ", Addition)
print("Subtraction : ", Subtraction)
print("Multiplication : ", Multiplication)
print("Division : ", Division)Problem Statement: Write a Python program that:
- Takes a user's first name and last name as input.
- Concatenates the first name and last name into a full name.
- Prints a personalized greeting message using the full name.
firstname = input("Enter your first name : ")
lastname = input("Enter your last name : ")
print("Hello,", firstname, lastname,"! Welcome to the python program.")