SyntaxFix
Write A Post
Hire A Developer
Questions
Try using join on a str conversion of your ints:
print(' '.join(str(x) for x in array))
For python 3.7