24th Oct 2024, 11:06 AM
Anu
Anu - avatar
4 ответов
+ 3
Your script works. You are probably just having a challenge running it in SoloLearn. SoloLearn does not allow the program to ask questions to the user while the program is running. You have to supply all inputs in the pop-up box before the script runs. In that box, you put all your inputs on separate lines like this: Jerry 23 Ed Joy 123456789 123456789 Then it will produce the output.
24th Oct 2024, 12:51 PM
Jerry Hobby
Jerry Hobby - avatar
+ 1
I think you're trying to print the values that are stored in the variables a, b, c, etc. If so, you are trying to print them just as a string (inside the quotes). To print variables, they should not be in quotes. The characters inside quotes are taken as a string. I hope the modified code attached helps you. https://sololearn.com/compiler-playground/cgC8iYnyNOm4/?ref=app or you can concatenate them like you did in the line 15
24th Oct 2024, 11:29 AM
Mohammed Nihal
Mohammed Nihal - avatar
+ 1
Thank you so much. I solved the problem
24th Oct 2024, 2:14 PM
Anu
Anu - avatar
0
I am having problems in 4th line
24th Oct 2024, 11:43 AM
Anu
Anu - avatar