python 杂记

求整除  // , 如 4.5 // 2 = 2

三目运算  k = 0.5 if a < b else 1

遍历时候活的index和item: 函数enumerate

原文地址:https://www.cnblogs.com/shadow21/p/3971920.html