enumerate函数是一个非常方便且有用的函数,在for循环中,既能获得遍历的元素,又能获得该元素的索引。 示例代码. def get_ord_value(string): value = ord(string) if 65 ...
確定! 回上一頁