Every line of 'how to take n inputs in one line in python' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your Python code is secure.
1 def Main(n): 2 for cas in range(1, n+1): 3 l, w, h = map(int, input().split()) 4 if l <= 20 and w <= 20 and h <= 20: 5 print("Case %d: good"%cas) 6 else: 7 print("Case %d: bad" % cas)