diff --git a/Beginner/Chef and Spells/Chef and Spells.py b/Beginner/Chef and Spells/Chef and Spells.py new file mode 100644 index 00000000..99ccd313 --- /dev/null +++ b/Beginner/Chef and Spells/Chef and Spells.py @@ -0,0 +1,10 @@ +# cook your dish here +testcases = int(input()) +list1 = [] +for t in range(0,testcases): + a,b,c = map(int,input().split()) + list1.append(a+b) + list1.append(b+c) + list1.append(a+c) + print(max(list1)) + list1 = []