make a python programe to Calculate DH for a reaction

profilealikarashi
temp.py

# -*- coding: utf-8 -*- """ Spyder Editor This is a temporary script file. """ Def DH reaction: DH reaction = DHreactent - DHproduct if DHreactent>DHproduct: print"the reaction in endothermic reaction" else if DHproduct>DHreactent: print"the reaction is exothermic reaction" import matplotlib plt.plot(DH reactent) plt.plot(DH product) plt.title('DH reactent vs DH product') plt.show ()