I receive the test feedback expected "# #\n", not " # # \n"
for the test running with n = 1
, with the following code snippet called to for printing:
for i in range(n):
print(
(n - i) * ' ',
(i + 1) * "#",
" ",
(i + 1) * "#",
(n - i) * ' ',
sep = '', end = "")
print()
It appears visually perfectly fine in the terminal window, yet the test rejects it as incorrect. Can someone tell me what the issue is? Thanks a ton in advance.