for l in range(0,1):
n=int(input())
for i in range(0,n):
for j in range(1,n-i+1):
print(j,end=" “)
for k in range(1,2*i):
print(“x”,end=” ")
print()
this code shows eof type error
for l in range(0,1):
n=int(input())
for i in range(0,n):
for j in range(1,n-i+1):
print(j,end=" “)
for k in range(1,2*i):
print(“x”,end=” ")
print()
this code shows eof type error
When you are running on online ide you need to provide the custom input, so provide that first by clicking on the input button, above and providing the input and than running it .
Hope this cleared your doubt. 
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.