-
-
Save IndhumathyChelliah/7394b53fd281523deb0ad27e75d919e7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
l1=[[n for n in range(10) if n %2==0] for n1 in range(3)] | |
print (l1)#Output:[[0, 2, 4, 6, 8], [0, 2, 4, 6, 8], [0, 2, 4, 6, 8]] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment