I have two loops fist is wile loop and first is for loop witch iterate try at dynamic variable I want to stop the wile loop after no more new values are appending to the list in the for loop.
usernames is dynamic it change every time the for loop iterate.
while n < 10000:
for each in usernames:
user_list.append(each)
if(some condition to break the loop):
break