Since I'm new to programming, please give me your notes for my code to calculate the average for 2 subjects :
from __future__ import print_function
Math_array= list()
pysics_array = list ()
M = raw_input ("enter the numebr of math marks:")
py= raw_input ("enter the numebr of pysics marks:")
Sum=0
Sum1=0
for x in range (int (M)):
n=raw_input("math marks : ")
Math_array.append(float (n))
Sum = sum(Math_array)
for z in range (int (py)):
m=raw_input("pysics marks:")
pysics_array.append(float (m))
Sum1= sum (pysics_array)
math_avr = Sum/ len(Math_array)
py_avr = Sum1 / len (pysics_array)
print ("math avr",math_avr)
print ("math avr",py_avr)