I have global variable track and I want to reassign the value of track inside the function, but it is not working?I am getting still empty string.
track = ""
def wsReceive():
track = "abc"
I have global variable track and I want to reassign the value of track inside the function, but it is not working?I am getting still empty string.
track = ""
def wsReceive():
track = "abc"