+ 2

Python Calculator.... My python calculator is not functioning properly, please help me indicate the mistake in my code

https://code.sololearn.com/c3UCaj0IBGG5/?ref=app

21st Mar 2018, 12:59 PM
Adilet Kambarov
Adilet Kambarov - avatar
4 Respostas
+ 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
21st Mar 2018, 1:06 PM
Dinesh Banjara
Dinesh Banjara - avatar
+ 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
21st Mar 2018, 1:18 PM
Manorama
Manorama - avatar
+ 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
21st Mar 2018, 1:56 PM
Manorama
Manorama - avatar
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
21st Mar 2018, 1:46 PM
Adilet Kambarov
Adilet Kambarov - avatar