LearnPy Hub
← Recursion & Lambda problems
Medium

map() Over Two Lists

Read two lines of integers of the same length and print the element-wise products on one line, using map(lambda a, b: a * b, xs, ys).

Input

Two lines.

Output

One line.

Sample 1

Input
1 2 3
4 5 6
Output
4 10 18

Sample 2

Input
7
8
Output
56
solution.py
Output appears here
map() Over Two Lists · Python practice problem · LearnPy Hub