x = [1, 4, 9, 16, 25, 36, 49, 64, 81, 100] print(*x,sep=",") How can I put an if condition to the *x?
Learn more efficiently, for free:
Introduction to Python
7.1M learners
Introduction to Java
4.7M learners
Introduction to C
1.5M learners
Introduction to HTML
7.5M learners