Skip to content

nahiansiam/Basic-Calculator-Using-Python-Exception-Handling-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

🧮 Basic Calculator Using Python (Exception Handling) 📌 Project Description

This project is a simple Python-based calculator designed for beginners. It performs basic arithmetic operations such as addition, subtraction, multiplication, and division. The main goal of this project is to demonstrate the use of exception handling in Python to manage runtime errors gracefully.

🎯 Objectives

Practice basic Python syntax

Understand if-elif-else conditions

Learn how try-except works

Handle common errors like invalid input and division by zero

⚙️ Features

Takes user input for two numbers

Supports four arithmetic operations

Handles invalid numeric input using ValueError

Prevents program crash on division by zero using ZeroDivisionError

Beginner-friendly and easy to understand

🛠️ Technologies Used

Language: Python

Concepts:

Exception Handling (try-except)

Conditional Statements

User Input

About

This project is a basic calculator built using Python. It allows users to perform addition, subtraction, multiplication, and division. Exception handling is used to prevent errors such as invalid input and division by zero. It is suitable for beginners and academic practice.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages