FizzBuzz: Difference between revisions
Content deleted Content added
→{{header|Python}}: wrap examples in python tags |
|||
Line 603: | Line 603: | ||
</python> |
</python> |
||
And a shorter version, using a list comprehension and logical expressions |
And a shorter, but less clear version, using a list comprehension and logical expressions: |
||
<python> |
<python> |
||
for i in range(1, 101): |
for i in range(1, 101): |