When I run the below code:
def heart_value(name1,name2,name3):
if name1 == "Rachel":
return print("So you are Rachel!")
elif name2 == "Rachel":
print("Ah, so the second person is Rachel.")
return print('Right?')
elif name1 != 'Rachel':
return print('So Rachel is not the first person.')
else:
return print('ok')
print(heart_value("Rachel","Rachel","Mike"))
It gives me as follows:
So you are Rachel! None
Why does it also print None
?