题解 | #The Biggest Water Problem#
The Biggest Water Problem
http://www.nowcoder.com/practice/435aa556e093463891f6da7d322140a4
def compute_num(x): while len(x) != 1: end = 0 for item in str(x): end += int(item) x = str(end) return x
a = input() print(compute_num(a))
