• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
0

Calculator in python???

How do you make a simple calculator in python? That when two numbers divide and the divisor is zero instead of crashing it prints the message divisor cannot be zero.

adddividesubtractmultiplysquare
18th Mar 2019, 5:50 AM
Safina Nganga
Safina Nganga - avatar
1 Answer
+ 4
Hello Safina Nganga , welcome to sololearn. Please use search option on code playground following language types.. thanks 😉 https://code.sololearn.com/cDlTPy8oRYKo/?ref=app https://code.sololearn.com/cZIwQpvrv5hq/?ref=app https://code.sololearn.com/ch0Ce3u7Mcyb/?ref=app https://code.sololearn.com/cJ5esQOHn35c/?ref=app https://code.sololearn.com/ctOk7DBqo6MD/?ref=app https://code.sololearn.com/cI101lNvwJlE/?ref=app
18th Mar 2019, 5:54 AM
Scooby
Scooby - avatar

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
Hi help me I am new
2 Votes
My codebits section is full of deleted codes
12 Votes
Why are there like 10 community-made lessons?
0 Votes
How do I solve all test cases for popsicles problem?https://www.sololearn.com/coach/3?ref=app
0 Votes
Why so many mathematical questions in challenges?
0 Votes
Where can I learn c#
0 Votes
Where did mess up....
1 Votes
I have an error in a problem and I don't know what the correct answer is
0 Votes
best language if i want to learn about AI
0 Votes
Question
0 Votes