n =int(input())for i inrange(n):
a, b, c =map(int,input().split())if a + b > c:print('Case #{0}: true'.format(i +1))else:print('Case #{0}: false'.format(i +1))
问题描述:Python 代码:n = int(input())for i in range(n): a, b, c = map(int, input().split()) if a + b > c: print('Case #{0}: true'.format(i + 1)) else: print('Case #{0}: false'.format(i + 1))