New course! Every coder should learn Generative AI!
Try a free lesson0
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 Answers
x = [1, 4, 9, 16, 25, 36, 49, 64, 81, 100] print(*x,sep=",") How can I put an if condition to the *x?