python
1、a=‘abc’
a.replace(‘a’,‘A’)
print(a)
>>> abc
2、递归:导致栈溢出。
尾递归:把上一个的结果放到下一次调用的参数中,不会导致栈溢出。
3、yeild 执行到这停止,下次执行