+ 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

6th Oct 2023, 1:59 PM
Frank Otoo
Frank Otoo - avatar
8 ответов
+ 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.
6th Oct 2023, 2:25 PM
Wong Hei Ming
Wong Hei Ming - avatar
+ 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
7th Oct 2023, 1:55 AM
Azhagesanヾ(✿)
Azhagesanヾ(✿) - avatar
+ 1
https://code.sololearn.com/Wek0V1MyIR2r/?ref=app Apparently you have to use the apps to post your code bits.
6th Oct 2023, 2:34 PM
Wong Hei Ming
Wong Hei Ming - avatar
+ 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...
6th Oct 2023, 3:22 PM
Wong Hei Ming
Wong Hei Ming - avatar
0
What app should i use to post the code here
6th Oct 2023, 3:09 PM
Frank Otoo
Frank Otoo - avatar
0
Ive downloaded it the app on my ios
6th Oct 2023, 3:59 PM
Frank Otoo
Frank Otoo - avatar
0
Okay why does my code appears as a link
7th Oct 2023, 9:39 AM
Frank Otoo
Frank Otoo - avatar