total(datadef total(numbers)total numbers main script function total data list int int int the next line calls the function as ever with assignment lines we start with the right hand side the rhs calls the function total with argument data when we call the function separate namespace is created for it within the definition of the function the name "numbersis used for the list as resultthe name "numbersis established in the function' namespace this name is attached to the same python object as the name "datain the script' namespace