I've run this in various configurations, when I remove excess spaces, it still prints out with a space at the beginning of each line. And the center spacing seems to be larger than check50 expects, but it really is only two spaces (and hard-coded). Can you help me to understand why this fails on every valid integer check but still looks correct when I run it? Thanks.
for i in range(layers): print(' ' * (n-1),'#' * (i+1), ' ', '#' *(i+1)) n = n - 1