LearnPy Hub
← Pandas: DataFrames problems
Easy

Series Arithmetic

Read two lines of numbers as two Series and print their element-wise sum as a list and the mean of the second with 2 decimals.

Input

Two lines of integers of the same length.

Output

Two lines.

Sample 1

Input
1 2 3
4 5 6
Output
[5, 7, 9]
5.00

Sample 2

Input
10
20
Output
[30]
20.00
solution.py
Output appears here
Series Arithmetic · Python practice problem · LearnPy Hub