最初の出力はpop内のprint文print('hello')が実行されたときのもので、その次の出力はforループ内のprint文print(pop())が実行されたときのものです。pop()が値を返さないのでNoneが出力されています。なので「繰り返しの文で関数を呼び起こすとNoneが表示される」わけではありません。
通常は下記のようにするでしょう。
Python
1def pop():
2 print('hello')
3
4for i in range(2):
5 pop()
6#hello
7#hello
または
Python
1def pop():
2 return 'hello'
3
4for i in range(2):
5 print(pop())
6#hello
7#hello
2021/07/31 09:47