ΙΤ
Size: a a a
ΙΤ
ЖR
ΙΤ
def fh1 (x,y,z):
for elem in range(x):
if y.count(elem) !=0 and z.count(elem) !=0:
print (elem)
return fn1
fn1(x,y,z)
ΙΤ
ЖR
ΙΤ
ΙΤ
ΙΤ
ΙΤ
ΙΤ
ΙΤ
ΙΤ
M
l
ΙΤ
ΙΤ
ΙΤ
TA
def fh1 (x,y,z):
for elem in range(x):
if y.count(elem) !=0 and z.count(elem) !=0:
print (elem)
return fn1
fn1(x,y,z)
if y.count(f'{elem}') != 0 and z.count(f'{elem}') != 0:
TypeError: must be str, not int
.fh1(2,'2','3')