Mission elif clause

for app in apps_data[1:]:

I can’t get what is app that the code is looping for in mission: The elif clause as in all the other missions he used " for row in apps_data[1:]:"

so what is app ?

The loop is an iterative process. Syntax of for loop in python is: for variable in iteration_elements:. Here, the variable indicates each element of iteration_elements (list, dictionary, dataframe,etc.) one by one. In your question, apps_data maybe a list of list. In each iteration, the app variable holds the element of next list element.
It does not matter which variable you are using. app,row,a,b,c,d,x,y,z, etc. all are the same.

1 Like

many thanks, it really helps