saving . . . saved %run marks.py error has been deleted. %run marks.py error has been hidden .
%run marks.py error
Title
Question
%run marks.py
it shows that  math_marks_mean = sum(math_marks_A)/len(math_marks_A)
then it shows that type error : unsupported operand type(s) for /: 'float' and 'builtin_function_or_method,

Python-3.4.3 Parsing-data 10-11 min 30-40 sec 28-09-20, 5:30 p.m. aryamistry18@gnu.ac.in

Answers:

Out of the divisor and the dividend in the Division operation you are using a float value and a function object. Both of those cannot be divided hence the error

Please check if you are missing any brackets/syntactical issues and try again. Usually it is good to assign every value to a variable first and then use it in a math expression to avoid such errors and allow to debug easily.
06-10-20, 11:01 a.m. ankitrj.iitb


Log-in to answer to this question.