You are viewing a single comment's thread. Return to all comments →
Why is this not working for me? I have written the code as below.
if name == 'main': n = int(input()) print(*range(1,n+1),sep='')
but I am getting an error msg like : Sorry: IndentationError: unindent does not match any outer indentation level (Solution.py, line 3)
Any help here please?
Seems like cookies are disabled on this browser, please enable them to open this website
Print Function
You are viewing a single comment's thread. Return to all comments →
Why is this not working for me? I have written the code as below.
if name == 'main': n = int(input()) print(*range(1,n+1),sep='')
but I am getting an error msg like : Sorry: IndentationError: unindent does not match any outer indentation level (Solution.py, line 3)
Any help here please?