+ 2

Bug in final code project of lesson 19 intermediate python course?

I wrote simple code who Just print input from back and lesson accept it in whole tests. Cant post image here

20th Aug 2021, 8:22 PM
Vadim Korepanov
Vadim Korepanov - avatar
12 Answers
+ 3
Vadim Korepanov You have to print each character with new line in reverse order so do this: def spell(txt): for i in txt[::-1]: print(i) txt = input() spell(txt)
21st Aug 2021, 4:05 AM
A͢J
A͢J - avatar
+ 2
Vadim Korepanov There was a bug in previous version of Sololearn so I think you don't have latest version of Sololearn.
21st Aug 2021, 4:08 AM
A͢J
A͢J - avatar
+ 2
Vadim Korepanov Ok now I got. Seriously there is a bug. Sololearn accepting both results. We have to report it to SoloLearn. You can send mail with screenshot on info@sololearn.com.
21st Aug 2021, 4:15 AM
A͢J
A͢J - avatar
+ 1
Vadim Korepanov I don't think. Will you please share your code?
21st Aug 2021, 3:35 AM
A͢J
A͢J - avatar
+ 1
A͢J - S͟o͟l͟o͟H͟e͟l͟p͟e͟r͟ )i know how i should to do it. Post is not about it. Lesson ask to do recursion and printing line by line each letter. But take as an answer my simply inverteed input. Post bout it. If it will help project it's good. Just it
21st Aug 2021, 4:11 AM
Vadim Korepanov
Vadim Korepanov - avatar
+ 1
Ok thx. In midnight with one sleeped eye cant find bug sender)
21st Aug 2021, 4:21 AM
Vadim Korepanov
Vadim Korepanov - avatar
0
Vadim Korepanov Can you describe the bug and post your code here.
20th Aug 2021, 11:14 PM
Rik Wittkopp
Rik Wittkopp - avatar
0
Vadim Korepanov Is it spelling backwards using recursion?
20th Aug 2021, 11:16 PM
Rik Wittkopp
Rik Wittkopp - avatar
0
def spell(txt): txt = txt[::-1] print(txt) txt = input() spell(txt)
21st Aug 2021, 3:53 AM
Vadim Korepanov
Vadim Korepanov - avatar
0
Rik Wittkopp A͢J - S͟o͟l͟o͟H͟e͟l͟p͟e͟r͟ There is no recursion, Just invertion
21st Aug 2021, 3:55 AM
Vadim Korepanov
Vadim Korepanov - avatar
0
Just i dont know how to print bugreoort here. Lol)
21st Aug 2021, 4:13 AM
Vadim Korepanov
Vadim Korepanov - avatar
22nd Aug 2021, 6:42 PM
Maruti Patil
Maruti Patil - avatar