Problem in the input function

def check(su,v,l=[]):
if(su<0):
print(*l,sep=’\n’)
else:
l.append(v)
def cs(v,su,l=[]):
su=+v
check(su,v,l)
cs(int(input()),su)
cs(int(input()),0)

this was the code i submitted but the compiler shows error at line 9, EOF, even when ive provided custom input

Hey @Kunnaal, when you are running your code on ide you need to provide the custom input first. So before clicking on the run button press on input button on top bar and than provide the custom input and than click on run button.

Hope this cleared your doubt. :blush: