python print输出后面为什么会跟一个None

因为python中print函数需要返回值,如果你在print函数中所放的函数没有返回值,那么print将会return None

猜你喜欢

转载自blog.csdn.net/weixin_39995352/article/details/85012650