Татьяна Бcard.quotedo‘tgan yil
while item := next(iterable):

print(item)

else:

print("Iterable is empty")

Проведя поиск while_stmt
  • Fikr bildirish uchun kirish yoki roʻyxatdan oʻtish