0
Is my code correct? If it is, how can I stop iritatition one step befor costs2 are lesser than costs1?
https://code.sololearn.com/cjubkoRWlozh/?ref=app I need your help, please. I need to calculate the min construction costs, line goes under water and by land.
5 Answers
+ 1
In the break statement keep it inside curly braces {} and an indent.
0
Can you be more precisely?
0
I think so it should work. can you send some example on what should be the output
0
I think the output is met when both costs are about equal. You can find it when you sum both costs.