记录本人在 Python 上经常写错的一些地方(C/C++ 写多了,再写 Python 有点切换不过来)
and、or、!
10 <= num <= 30
if、elif、else
+=、-=
s[::-1]
reverse()
list[::-1]
京公网安备 11010502049817号