Answers for "funzione generatore python"

0

funzione generatore python

def conteggio():
    i = 0
    while i <= 5:
        yield i
        i += 1

lista = list(conteggio())
print(lista)
Posted by: Guest on February-07-2021

Python Answers by Framework

Browse Popular Code Answers by Language