Intro to Tutorial Challenges

  • + 1 comment

    v = int(input())

    n = int(input())

    arr = []

    for _ in range(n):

    temp = int(input()) # valueerror invalid literal for int() with base 10
    arr.append(temp)
    

    for i in range(n):

    if arr[i] == v:
        print(i)
    
        Please help me solve this problem, this code of mine works fine when am running it in Anaconda python3, but gives an error here.