requests = [1, 2, 3]

def modify():
    requests.append(4)

def redeclare():
    requests = [10, 20, 30]
modify()
print(requests)
redeclare()
print(requests)
UnboundLocalError: local variable 'url_request' referenced before assignment