Skip to content

Python Script to Calculate Mathematical Expressions 🧮🐍

Notifications You must be signed in to change notification settings

SaadARazzaq/One-Line-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

One-Line-Calculator 🔥

This is a one-line calculator program written in Python. It takes a mathematical expression as input, evaluates it, and then displays the result with a fun emoji reaction. The program is designed to be concise and interactive.

🧠How It Works

The program uses the eval() function to evaluate the mathematical expression provided by the user. It then prints the result.

⚒️Usage

  1. Run the program.
  2. You'll be prompted to enter a mathematical expression.
  3. Input your expression (e.g., 2 + 3 * 4).
  4. The program will evaluate the expression and display the result.

🔳Outputs

image

image

About

Python Script to Calculate Mathematical Expressions 🧮🐍

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages