Not correct working code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Not correct working code

I have this code: https://code.sololearn.com/cRcN926I5WzR/?ref=app and it should give the result for 500/499 for Oma Falk ‘s-Challenge! Everything looks fine, but I saw that it does not get the period, which should appear after 499 digits.... So I implemented m499 to multiply with 499 and the solution should tend to 0,99999....999 plus some random digits at the end. But here there are appearing some weird 500 nearly at the start? I don’t get what I am doing wrong here.... I would appreaciate your help!

26th Jul 2020, 4:44 PM
Alexander Thiem
Alexander Thiem - avatar
1 Answer
0
Ahh I found my mistake 😊 Thank you all for your help
27th Jul 2020, 11:45 AM
Alexander Thiem
Alexander Thiem - avatar