python:power(a,b)、list.Slice、list.reverse、try-except、object-oriented programming (OOP)
>>>2**10
1024equaltomath.power(2,10)Slicingsyntax: L[start:stop:stride] Allslicingparametersareoptional:>>>>>>L
['red','blue','green','black','white']
>>>L[3:]
['black','white']
>>>L[:3