0

Why are tests 3,4,5 hidden? This code works on 1 and 2 but not on 3,4,5 and I'm unable to submit it because of that. Any ideas?

https://code.sololearn.com/cDA8InQEfYk2/?ref=app

6th Nov 2022, 1:18 PM
Stefan Ambrose
Stefan Ambrose - avatar
2 Answers
+ 6
Hi! Output should be rounded up to the nearest integer. So you need to use math.ceil() instead of round ()
6th Nov 2022, 1:35 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 2
And the other tests are hidden so the developer has to think about ALL possible results, not just the easy to see. Think of a task where you have to print the following pattern: 1 22 333 You could simply print those numbers on each line and it would meet the criteria. However, you've not solved any pattern creation problems.
6th Nov 2022, 3:33 PM
Ausgrindtube
Ausgrindtube - avatar