Bradley Hintze <bradle...@aggiemail.usu.edu> writes: > my_var = 5 > def my_function(): > return my_var > my_var +=1
def my_function(): temp = my_var my_var += 1 return temp -- http://mail.python.org/mailman/listinfo/python-list
Bradley Hintze <bradle...@aggiemail.usu.edu> writes: > my_var = 5 > def my_function(): > return my_var > my_var +=1
def my_function(): temp = my_var my_var += 1 return temp -- http://mail.python.org/mailman/listinfo/python-list