Created
May 26, 2021 15:41
-
-
Save karcan/dda2b3b46f72763ecc99975e02788d03 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
listOdd = [1,3,5,7,9] | |
listEven = [2,4,6,8,10] | |
newList = [number * 2 for number in listOdd + listEven] | |
for number in newList: | |
print(type(number)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment