SyntaxFix
Write A Post
Hire A Developer
Questions
Another single-line Python 3 option but with explicit separator:
print(*range(1,11), sep=' ')