Why does this return None?

后端 未结 1 1651
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-27 06:26

I\'m testing out repl.it (running Python 3.5.1) and I noticed that after every line of input into the console, the console replies with None. I\'m not using any fan

相关标签:
1条回答
  • 2021-01-27 07:08

    None is the default return value of statements that do not have a return value. Some interpreter shells display it, some don't.

    It's perfectly normal, don't worry about it.

    0 讨论(0)
提交回复
热议问题