如何在Python中简单地将字符串中的分号对齐?我需要在字符串中对齐分号。例如: Input: 1-1: abc 1-2-1: defghi 1-2-1a: jklmnopqr 1-2-1a-1-1-1a: stuvwxyz Ou ...2024-03-28 已阅读: n次