Hello everyone, does anyone have an idea how I can output the task first? :) | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

Hello everyone, does anyone have an idea how I can output the task first? :)

https://www.sololearn.com/compiler-playground/cLkHQv72KaRr

4th Aug 2023, 4:26 PM
Amandine Kos
Amandine Kos - avatar
4 ответов
+ 6
Amandine Kos , I didn't found any error in your code... It is working well , But need many tries I guess to make it equal...
4th Aug 2023, 4:53 PM
Riya
Riya - avatar
+ 6
Amandine Kos , your code is working properly, but it seems that you struggle here in sololearn playground. playground does *not work interactively*, we have to input all values that are required *before* the code will be executed. because of this behaviour, you can not see the message that shows / prompts the exercise to the user. if you wanted to see it as an interactive programm, you have to use an other ide.
4th Aug 2023, 6:49 PM
Lothar
Lothar - avatar
+ 4
Don't attach the code in description just go to insert->insert code-> see the top drop-down menu (click on it)-> my code bits -> then share your code
4th Aug 2023, 4:32 PM
Sakshi
Sakshi - avatar
+ 1
Lothar , Ahh okay, thank u! :)
4th Aug 2023, 8:04 PM
Amandine Kos
Amandine Kos - avatar