Nowy kurs! Każdy programista powinien nauczyć się Generative AI!
Wypróbuj darmową lekcję0
unpacking lists
x = [1, 4, 9, 16, 25, 36, 49, 64, 81, 100] print(*x,sep=",") How can I put an if condition to the *x?
4 odpowiedzi
x = [1, 4, 9, 16, 25, 36, 49, 64, 81, 100] print(*x,sep=",") How can I put an if condition to the *x?