how to assign a value to a variable inside another function in python code example Example: how to refrence variable in another def for username in users: