+ 2
Python Calculator.... My python calculator is not functioning properly, please help me indicate the mistake in my code
4 Answers
+ 4
There's nothing wrong in your code. It's Sololearn... Sololearn accepts all input together. You have to enter your choice, first number and second number together..
Like this
+
12
14
+ 1
@dinesh perfectly correct ...
@adilet as sololearn accepts input at the beginning, you can not use loop for multiple input ... I slightly modified your code ....
https://code.sololearn.com/c25tcaIGnYoc/?ref=app
+ 1
which Linux distribution you are currently using ???
python is default installed in Linux. so if you are not using python IDLE , then on terminal use following command
python filename.py
0
@Dinesh @Manorama thank yall.. how can I use my python code on GNU/Linux? I use Linux but having problems running written .py codes on Linux, if you know how to do it, please teach me