Why does this function doesn't work?
int_myApples = 4    
int_yourApples = 13    
int_TotalApples = int_myApples + int_yourApples    
def giveApple():    
    int_yourApples += 1    
    int_myApples -=1    
    
giveApple()     
    
print("If I give you one of my apples,you have {} and I have {} apples.".format(int_yourApples,int_myApples))`
If I do the same without putting it into a function it just works.
int_yourApples += 1    
int_myApples -=1    
    
print("If I give you one of my apples, you have {} and I have {} apples.".format(int_yourApples,int_myApples))    
Any reason why?
 
     
    