Beginners confuse return and print. They're completely different.
print shows something on screen. That's it. The value is gone.
return sends a value back. You can store it, use it in calculations, pass it to other functions.
def bad_add(a, b):
print(a + b) # Shows 7, returns None
def good_add(a, b):
return a + b # Returns 7
x = bad_add(3, 4) # x is None!
y = good_add(3, 4) # y is 7
If you need the result later, use return.