pythonってリターン必須なんですか?
関数が終われば自動的に値を返してくれるのでは?
def a(b):
result = b * b
return result
hoge = a(100)
print(hoge)

returnがないと値なしになる