Tech Tutorials Hub
Tech Tutorials Hub
June 17, 2025 at 10:54 PM
*TASK: Simple Calculator* *Using if-elif-else, build a calculator that:* 1. Asks the user for the first number 2. Asks the user for the operation (+, -, *, /) 3. Asks for the second number 4. Uses if-elif-else to perform the operation 5. Displays the result _________________________________________ Use float() for numbers and input() for text. *Example Output:* Welcome to Simple Calculator! Enter first number: 5 Choose operation (+, -, *, /): * Enter second number: 3 Result: 15.0

Comments