python return None
python return None Question: I am trying to return objects from a function, in the format of dictionary. It seems it is working fine inside of function, but return “None”. =================================================== The printed result is :: {‘tree1’: [<ROOT.TH1D object (“root2_tree_tree1_px_hist”) at 0x7fa40eec05b0>, <ROOT.TH1D object (“root2_tree_tree1_py_hist”) at 0x7fa40eec0cd0>, <ROOT.TH1D object (“root2_tree_tree1_pz_hist”) at 0x7fa40eec13f0>], ‘tree2’: [<ROOT.TH1D object …