访问理解中字符串的索引>> names = ["Cola", "Salah"] >> names1 = [s for s in names for i,c in enumerate(s)] Ou ...2024-06-12 已阅读: n次