parsing data
Title
Question
In [29]: %run marks.py
In [30]: %run marks.py
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
~\marks.py in <module>
10
11
---> 12 math_marks_mean = sum(math_marks_A) / len
13 (math_marks_A)
14 print (math_marks_mean)
TypeError: unsupported operand type(s) for /: 'float' and 'builtin_function_or_method'
Python-3.4.3 Parsing-data 10-11 min 30-40 sec
Answers:
Please use sum (math_marks_A) / len(math_marks_A)
Login to add comment