i am new at Python. while i was doing exercises ,i just come across that question. First, how can i solve that. Second, what is role of res=0 and res=res+1?
For what