KALIIOWORK / KALIIOWORK/basic_python_programs

Getting Started Challenge: Create a Simple Python Calculator

Aperta
#1 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
good first issue hacktoberfest
Lingua principale
Python
Stelle
0
Fork
9
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Welcome, beginners! 🎉 In this challenge, we invite you to create a basic Python calculator. It's a fantastic way to apply your programming knowledge and have fun while doing it!

**Task:**
Create a Python script that performs basic arithmetic operations (addition, subtraction, multiplication, division) on two numbers. Your calculator should take user input for numbers and the operation to be performed.

**Guidelines:**
- Use Python's input() function to receive user input.
- Implement separate functions for each operation (addition, subtraction, multiplication, division).
- Ensure your calculator handles division by zero gracefully.
- Bonus: Add functionality for additional operations like square root or percentage calculations.

**How to Contribute:**
1. Fork this repository.
2. Create a new branch: `git checkout -b calculator-challenge`
3. Write your Python script in a file named `calculator.py`.
4. Test your calculator thoroughly to ensure it works as expected.
5. Commit your changes: `git commit -m "Add Python calculator script"`
6. Push to your branch: `git push origin calculator-challenge`
7. Open a pull request to this repository.

Feel free to ask questions if you're stuck, and don't worry about making mistakes – learning is all about experimenting! Happy coding! 🚀🐍

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.