Skip to content

Commit fa034e4

Browse files
committed
more pythonic
1 parent 916e5ff commit fa034e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Print_List_of_Even_Numbers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
print list(x for x in range(2,100,2))
1+
print [x for x in range(2, 100, 2)]

0 commit comments

Comments
 (0)