Python - Space between two characters
def hashes(n):
for x in range(0, n):
print"#",
The above code produces the following result if n = 5:
# # # # #
Could anyone suggest a solution for making the characters have no space in
between?
i.e
#####
(Python 2.7)
No comments:
Post a Comment