I am trying to write a code to display atribute of the hero after the entry. But they all return 0 at the output
#This is one of code block that i use to calculate damage of heroes in Dota 2
def hero_attribute_input(hero_str,hero_agi,hero_int):
print "Input the str of the hero"
hero_str = int(raw_input("> "))
print "Input the agi of the hero"
hero_agi = int(raw_input("> "))
print "Input the int of the hero"
hero_int = int(raw_input("> ")) # Why can't you add a print commat here?
return (hero_str,hero_agi, hero_int)
hero_str = 0
hero_agi = 0
hero_int = 0
hero_attribute_input(hero_str,hero_agi,hero_int)
#Why don't the variables change after this?
print hero_str
print hero_agi
print hero_int