0

Search x in a list

https://code.sololearn.com/c29BeJHdRDf4/?ref=app What is wrong can someone help ? I should become output 6 the middele word in the list

26th Nov 2019, 9:55 AM
Sahra.P
Sahra.P - avatar
1 Respuesta
+ 1
Your function works except the return value should be k. Maybe you do it on purpose. You just need to print the function. (print(search(liste, x))
26th Nov 2019, 10:14 AM
你知道規則,我也是
你知道規則,我也是 - avatar