Created
September 14, 2020 15:00
-
-
Save BetterProgramming/c38a23f90e73292301606004c122d2a7 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
def multiply(x,y,z): | |
return x*y*z | |
num1=[1,2,3,4] | |
num2=[2,4,6,8] | |
num3=[2,3,4,5] | |
s=map(multiply,num1,num2,num3) | |
print (list(s))#Output:[4, 24, 72, 160] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment