This is an answer for a question in hacker rank Python challenges. I am using Python 3.0. It works fine on their web site, but it shows an error in my PyCharm IDE as:
"End of statement expected".
if __name__ == '__main__':
n = int(input())
print(*range(1, n+1), sep='', end='')