programming-language配列空白要素を除去(後ろだけ)On this page空白要素を除 去(後ろだけ) Python pywhile len(lines) > 0 and lines[-1] == '': lines.pop() もっときれいな方法ないかなあ・ 📩 ご意見・ご感想はこちらから