def rosnaca(tab): for i in range(len(tab)): j=len(tab)-2 while j>i: if tab[j]