PY
py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# ATTEMPT #2 : NO runtime error decimals can be #inputted
# Online
# Code, Run and## Debug Python program online.
#Write your code in this editor and press "Debuc
#Using Python to find row averages for a matrix
#Bug : works only for integers
#TEST DATA (LEGACY)
#3 2
#3 2
#1 0.5
#1 0.3
#DECIMAL
#2 2
#1 6
#2 8
import numpy as np
z = " "
T = input ().split (' ')
n = int (float (str (T[0])))
p = int (float (str (T[1])))
#print("P= "+str(p))
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run