Problem with my code?

n=int(input())
for i in range(n):
for j in range(n-i):
print(j+1,end=" β€œ)
for j in range(i):
print(”*",end=" ")
print()

Traceback (most recent call last): File β€œscript.py”, line 1, in n=int(input()) EOFError: EOF when reading a line

Hey @ritvikagrawal1, please share the link to your code. This is difficult to understand that which loop you have used for which statement. Please provide the link of the online ide !

Thank you!

https://online.codingblocks.com/app/player/117749/content/104961/5027/code-challenge

I hope your doubt has been resolved.

Happy Learning :slight_smile: