None是函数返回值(没有默认其他return返回值为None),具体参考https://blog.csdn.net/bojan22/article/details/105587862
a输出没问题啊,None应该是别的输出语句
你执行程序用的是不是 print(run()) 这个命令?