The truth is Python performs the above two steps anytime it wants to loop over the contents of an object - so it could be a for loop, but it could also be code like otherlist.extend(mylist) (where otherlist is a Python list).
Gerçek şu ki, Python, bir nesnenin içeriğini yinelemek istediğinde herhangi bir zamanda yukarıdaki iki adımı gerçekleştirir - yani bu bir for döngüsü olabilir, ancak otherlist.extend(mylist) gibi bir kod olabilir (diğer listenin bir Python listesi olduğu)
The truth is Python performs the above two steps anytime it wants to loop over the contents of an object - so it could be a for loop, but it could also be code like otherlist.extend(mylist) (where otherlist is a Python list).
Gerçek şu ki Python, yukarıdaki iki adımı bir nesnenin içeriğine döngülemek istediği zaman uygular - yani bir döngü için olabilir, ancak next() gibi bir kod da olabilir (burada otherlist.extend(mylist) Python listesidir).
The truth is Python performs the above two steps anytime it wants to loop over the contents of an object - so it could be a for loop, but it could also be code like otherlist.extend(mylist) (where otherlist is a Python list).
Gerçek şu ki, Python istediği zaman yukarıdaki iki adımı gerçekleştirir. ilmek Bir nesnenin içeriği - bu yüzden bir döngü olabilir, ancak aynı zamanda kod gibi olabilir otherlist.extend(mylist) (nerede otherlist bir Python listesidir).
Other results
However in Python a list can have items of different types.
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.