1.用匿名函数实现两个数的加法并调用 2.用模块的三种导入方法导入math库,并使用pow()高数求1+2+2^2+2^3+…+2^20
l = lambda x, y:x + y
l(1, 10)
import math
math = __import__('math')
import importlib as il
math = il.import_module('math')
rs = 0
for i in range(0, 21):
rs += pow(2, i)
print(rs)