human
sum a list of numbers in Python
assistant
Here is some code to sum a list of numbers `list_of_nums`

sum(list_of_nums)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.