An advanced Python-based calculator that supports both keyboard input and voice commands, capable of performing arithmetic operations, number analysis, and sequence generation.
- Keyboard-based input
- Voice input using speech recognition
- Addition, Subtraction, Multiplication
- Division, Modulus, Power
- Factorial, Square, Cube
- Square Root
- Prime check
- Even / Odd detection
- Fibonacci series generation
- Speaks results using text-to-speech
- Python
speech_recognitionpyttsx3math
smart-calculator/
βββ main.py
βββ README.md
pip install SpeechRecognition pyttsx3
β οΈ For microphone support, you may also need:
pip install pyaudio
Run the program:
python main.pyadd 5 and 10
square 7
factorial 5
- "Multiply 6 and 8"
- "Find square root of 25"
- "Check prime 13"
- Prevents division by zero
- Validates input type
- Handles invalid commands gracefully
- GUI version (Tkinter / Web App)
- Advanced NLP understanding
- More mathematical operations
- Multi-language voice support
python, calculator, voice-recognition, text-to-speech, smart-calculator, beginner-project
This project is open-source and available under the MIT License.