My python code works correctly, outputting the appropriate number of spaces and #s to the terminal window, but it fails check50 for one test:
:( rejects a height of 24, and then accepts a height of 2 expected " # #\n## ##\n", not " h = int(inp..."
I can see that it has to do with my user input line, in which I used:
h = int(input("Height: "))
in a makeshift do-while loop, breaking if the integer is between 0-23. I understand that I can, instead, use and import get_int() from the cs50 library which passes check50 successfully, but why exactly doesn't my initial implementation using input() work?