Leaderboard Puzzle in beginners python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Leaderboard Puzzle in beginners python

I don't find anything wrong in this code. Can anyone tell me why the app is asking me to fix the bug when Iam getting the exact same output as desired. L= ('1. \n2. \n3. \n4. \n5. \n6. \n7. \n8. \n9.') print (L)

18th May 2021, 4:48 AM
Prabuddh Bhatia
Prabuddh Bhatia - avatar
3 Answers
+ 5
Remove all extra spaces after "."
18th May 2021, 4:58 AM
TOLUENE
TOLUENE - avatar
+ 2
L="1.\n2.\n3.\n4.\n5.\n6.\n7.\n8.\n9." print(L) There should be no space after dot(.)
18th May 2021, 4:58 AM
sarada lakshmi
sarada lakshmi - avatar
+ 1
Thanks guys 🙂
20th May 2021, 5:00 AM
Prabuddh Bhatia
Prabuddh Bhatia - avatar