If i want to make a calculator having frontend as html and backend as python then what should i code? Is it possible? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

If i want to make a calculator having frontend as html and backend as python then what should i code? Is it possible?

If yes please show it with an example.

1st Sep 2019, 3:36 PM
Avinash
Avinash - avatar
3 Answers
+ 3
Easi_Code's these two examples use Brython and Skulpt, which are javascript libraries that transform python code to javascript behind the scenes. So there is no 'back end' in this case. There is some performance overhead compared to using only JS in the first place. But essentially you are right, they let you use python for web development :) Avinash your idea is feasible (web frontend, python backend) but not possible to implement on SoloLearn.
1st Sep 2019, 5:36 PM
Tibor Santa
Tibor Santa - avatar
+ 4
Esra Alagad absolutely as Cbr✔[ ZeroCharisma ] just posted and here is my version not as pretty but ... https://code.sololearn.com/W7ITsQjn96yK/?ref=app
1st Sep 2019, 4:17 PM
BroFar
BroFar - avatar
+ 3
Cbr✔[ ZeroCharisma ] so we can possibly use py for web development not only js?
1st Sep 2019, 4:07 PM
E∆SI🇳🇬🤖
E∆SI🇳🇬🤖 - avatar