Why are the test cases of this code failing? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why are the test cases of this code failing?

https://www.sololearn.com/coach/117?ref=app

15th Aug 2020, 6:41 PM
Abraham Zimba
Abraham Zimba - avatar
4 Answers
+ 2
Try removing the spaces, I'd guess the string comparison between your solution and theirs fails due to them, despite looking similar on the console.
15th Aug 2020, 6:45 PM
Shadow
Shadow - avatar
+ 1
print( 'A \nB \nC \nD' )
15th Aug 2020, 6:44 PM
Abraham Zimba
Abraham Zimba - avatar
0
#Shadow thank you very much for the great help rendered
15th Aug 2020, 7:49 PM
Abraham Zimba
Abraham Zimba - avatar
0
Answer print('A\nB\nC\nD')
15th Aug 2020, 7:51 PM
Abraham Zimba
Abraham Zimba - avatar