# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Python 3
#     language: python
#     name: python3
# ---

# +
def get_num(l,n):
    count = 0
    for i in l:
        if i != n:
            count += 1
        elif i == n:
            print(count)

test = [1,2,3,4,5,6,7,8,9,10,11]
get_num(test,10)
# -



StarcoderdataJupyterScriptsDedupFiltered