stopword = '' str = '' for line in iter(raw_input,stopword): str += line + '\n' L = str.strip().split('\n') L_n
http://www.pythontip.com/coding/code_oj_case/28
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号