Skip to content

ayushklm/Basic_Python_Assignment_1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Basic Python Concepts - Assignment 1

This repository contains two Python scripts based on basic Python concepts.


Task 1: Numerical Operations

This program takes two numbers as input and performs:

  • Addition
  • Subtraction
  • Multiplication
  • Division (with zero check)

File: task1.py

Example Output:


Task 2: Greeting by Name

This program asks for user's first and last name, then prints a greeting message.

File: task2.py

Example Output:



Task 2: Greeting by Name

This program asks for user's first and last name, then prints a greeting message.

File: task2.py

Example Output:


How to Run

Run these programs in any Python 3 environment:

python task1.py
python task2.py
Author

Name: Ayush Kumar Pandey

Assignment: 1 - Basic Python Concepts

About

“This repository contains Task 1 and Task 2 Python programs for Basic Python Concepts assignment.”

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages