How can i insert a multiple listed variable in a while loop?

You want list concatenation:

while size not in l_size + m_size + s_size:

Leave a Comment