+ 1
I just wrote this code as a project work but don’t know how to run it on this platform
https://sololearn.com/compiler-playground/clkTecWMS17a/?ref=app https://sololearn.com/compiler-playground/clkTecWMS17a/?ref=app
8 odpowiedzi
+ 3
The code playground is not interactive, you have to provide ALL the inputs on separate line.
If you want to run it interactively, I suggest you to install Python on your computer to run your code.
If you are on mobile, search for Python IDE at the apps store, install one of them and run your code there.
While I ran into logical error and runtime error with your code, you are pretty close to your goal.
Keep practicing and you will be good.
+ 2
Sololearn compiler is not interactive as told by Wong Hei Ming using loop to get input throw error here. To learn how sololearn handles input check this code: https://code.sololearn.com/WhiNb9BkJUVC/?ref=app
If you look for ways to run code, goto profile ->see activity-> code bits choose the code and run option available at bottom right. Give inputs like below and run
encode
Wikipedia
6
+ 1
https://code.sololearn.com/Wek0V1MyIR2r/?ref=app
Apparently you have to use the apps to post your code bits.
+ 1
Guess you are using the website version.
The apps we are talking is "SoloLearn", which is available on Android and iOS.
You can study programming on your phone just like on your computer. Some functions are on the apps only.
However I do agree pc is a better choice if you want some serious coding...
0
What app should i use to post the code here
0
Ive downloaded it the app on my ios
0
Okay why does my code appears as a link