Skip to content

software-development-course-2025/python-week-1-assignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

6 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿงฎ Basic Calculator (Python)

A beginner-friendly Python program that performs basic arithmetic operations โ€” addition, subtraction, multiplication, and division โ€” based on user input.

๐Ÿš€ How It Works

  1. Asks the user for two numbers
  2. Prompts for an operation (+, -, *, or /)
  3. Performs the operation
  4. Prints the result to the console

๐Ÿ’ก Example

Enter the first number: 10
Enter the second number: 5
Enter an operation (+, -, *, /): *
10.0 * 5.0 = 50.0

๐Ÿ“‚ File

  • calculator.py: Main program file

๐Ÿง‘โ€๐Ÿ’ป Author

Augusto Mate
๐Ÿ“ง mate.augusto.mz@gmail.com

๐Ÿชช License

This project is licensed under the MIT License.

About

This project was created as part of an Intro to Python Assignment. It demonstrates basic syntax, user input handling, conditionals, and arithmetic operations in a simple and practical way.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages