-1

hey, ima first time programmer and i no clue whats going on someone please help!!

i have to write a function called number_of_2s that includes one parameter, N, where N is a positive integer that is no more than 10 digits long. the function should return the number of times the digit 2 occurs in the number (N) ... example number_of_2s(7822622) returns 4

this is what i have so far and i dont know where to go after this :(

def number_of_2s(N):

N = (N<==10)

lol sad right? :( sry please help!