使用结构更换在for循环中我正在做一个任务,要求我更改下面的代码,以便第4行使用蓝藻str.isalnum而第5-7行变成只使用一行结构更换. 在 s = 'p55w-r@d' result = '' for c in s: ...2024-07-07 已阅读: n次