Hi Guys,
I’ve been trying to solve the community puzzle “The Highest Building” by @konrad_werblinski today, and I get stuck.
I’d like to know if anyone else solved it in Python3 ?
I feel like my output is correct, but none of the test pass. The output is “visually” correct (I see the right building, in the right order, separated by a blank line), and I made sure there is no trailing space on the right of each line printed – print(line.rstrip()).
EDIT:
Problem fixed, I should have think about it ealier
My printing function was defective and adding an extra empty line at the end, which I didn’t see.
Thank you very much, ArbustRe. I wasted much time missing that mistake and found it due to tour post. My head almost blown because I saw correct figures in output but system didn’t accepted it