This repository contains solutions for Assignment 1, consisting of two beginner-level Python programming tasks. The aim is to demonstrate basic input/output operations, arithmetic calculations, and string formatting in Python.
This Python script accepts two numbers from the user and performs the following mathematical operations: Addition, Subtraction, Multiplication, Division
assignment_1-task_1.py
- Open a terminal.
- Run the program using:
python assignment_1-task_1.py
- Follow the prompts to input numbers.
Enter the first number: 1
Enter the second number: 2
Addition: 3
Subtraction: -1
Multiplication: 2
Division: 0.5
This Python script collects the user's first and last name and displays a personalized greeting message.
assignment_1-task_2.py
- Open a terminal.
- Run the program using:
python assignment_1-task_2.py
- Follow the prompts to input your name.
Enter your first name: Shashank
Enter your last name: Singh Patel
Hello, Shashank Singh Patel! Welcome to the Python Program.
Python-Assignmetn-1/
βββ assignment_1-task_1.py
βββ assignment_1-task_2.py
βββ README.md