Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 878 Bytes

File metadata and controls

24 lines (20 loc) · 878 Bytes

ASSIGNMENT-1-Module-2-Basic-Python-Concepts

This repository conists of Python codes for the Assignment 1

Task 1: Perform Basic Mathematical Operations Problem Statement: Write a Python program that does the following:

  1. Takes two numbers as input from the user.
  2. Performs the basic mathematical operations on these two numbers: o Addition o Subtraction o Multiplication o Division
  3. Displays the results of each operation on the screen. Expected Output: The output should include the result of each operation performed, for example:

Task 2: Create a Personalized Greeting Problem Statement: Write a Python program that:

  1. Takes a user's first name and last name as input.
  2. Concatenates the first name and last name into a full name.
  3. Prints a personalized greeting message using the full name. Expected Output: The program should output a greeting like: