0
Is it possible to run python live
I was wondering if it is possible to run python live. For example when I run this code: Import time Print(‘hi’) Time.sleep(1) Print(‘bye’) It should say hi wait 1 second then say bye. In thonny it runs properly. Another issue caused by this is the input() command. In this is opens a menu and asks you then after you answer it runs the code in other softwares it runs all code before it asks then runs the code after it. Such as in this code Print(‘hi’) X = input() Print(x) It will say hi ask input print input
5 ответов
+ 2
Curtis Chase SoloLearn sandbox doesn't operate as such here so you have to input all inputs upfront before run / execute ..
+ 1
Curtis Chase no it is real python but limited due to the environment / sandbox
0
Sololearn first take all the user inputs and run the program with those inputs on their server and then send result to you.
It is not interactive because PYTHON interpreter is not installed in your phone. Sololearn just send you the output of interpreter.
Try to use PYTHON in computer or laptop. you can also use Python in your phone.
0
🌀 Shail Murtaza شعیل مرتضیٰ i run it on a rasberry pi all the time but using solo learn to code is much more convienint. I wish it would run correctly on here