• Cursussen
  • Code Compiler
  • Discussiëren
  • Prijzen
  • 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 Antwoord
+ 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

Heb je vaak vragen zoals deze?

Leer efficiënter, gratis:

  • Inleiding tot Python

    7,1 miljoen leerlingen

  • Inleiding tot Java

    4,7 miljoen leerlingen

  • Inleiding tot C

    1,5 miljoen leerlingen

  • Inleiding tot HTML

    7,5 miljoen leerlingen

Bekijk alle cursussen
Populair vandaag
Python stressed me out
1 Votes
How often can you become a fully stuck developer?
1 Votes
Improve accessibility of this page
0 Votes
Course Doubt
1 Votes
If we already have the DELETE command in SQL, why do we need TRUNCATE?
2 Votes
Data analysis
0 Votes
What is a simple and easy way to learn ruby? :)
0 Votes
Saved code
0 Votes
Help
0 Votes
How do i make a lexer and parser
1 Votes