I am trying to create a display that shows the digits in a row using hashtags. The problem is, every time I output the results they all just get printed one below the other with only 1 row on the previous line (see below).
#
#
#
#
# ###
#
###
#
###
How to get the output to look like this?
# ### ### # # ### ### ### ### ### ###
# # # # # # # # # # # # # #
# ### ### ### ### ### # ### ### # #
# # # # # # # # # # # # #
# ### ### # ### ### # ### ### ###
Here is the full code.
try:
x = int(input("enter an integer value: "))
x = str(x)
except ValueError:
print("Sorry, this isn't an integer")
x = str(x)
a = '''###
# #
# #
# #
###'''
b = '''#
#
#
#
#'''
c = '''###
#
###
#
###'''
d = '''###
#
###
#
###'''
e = '''# #
# #
###
#
#'''
f = '''###
#
###
#
###'''
g = '''###
#
###
# #
###'''
h = '''###
#
#
#
#'''
i = '''###
# #
###
# #
###'''
j = '''###
# #
###
#
###'''
A = "0"
B = "1"
C = "2"
D = "3"
E = "4"
F = "5"
G = "6"
H = "7"
I = "8"
J = "9"
LEDs = {"0" : a, "1" : b,"2" : c, "3" : d, "4" : e, "5" : f, "6" : g, "7" : h, "8" : i, "9" : j}
Holy = []
for f in x:
Holy.append(LEDs[f])
print(*Holy, end = "")
Thank you in advance for any help you give!