結果 : why is none getting printed in python