From 2ced8ce55e618b41927c0d1f6fa0589563453f2b Mon Sep 17 00:00:00 2001 From: Vinayak Y B <89510107+Vinayak-YB@users.noreply.github.com> Date: Tue, 26 Oct 2021 19:43:42 +0530 Subject: [PATCH 1/3] Created a Chef and Spells file Solution for Chef and Spells in python has been added --- Beginner/Chef and Spells.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Beginner/Chef and Spells.py diff --git a/Beginner/Chef and Spells.py b/Beginner/Chef and Spells.py new file mode 100644 index 00000000..99ccd313 --- /dev/null +++ b/Beginner/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 = [] From 4aa2d2d5ded0d58ac3de2e784575236bceec7c8d Mon Sep 17 00:00:00 2001 From: Vinayak Y B <89510107+Vinayak-YB@users.noreply.github.com> Date: Wed, 27 Oct 2021 19:28:11 +0530 Subject: [PATCH 2/3] Create Chef and Spells.py --- Beginner/Chef and Spells/Chef and Spells.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Beginner/Chef and Spells/Chef and Spells.py 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 = [] From 51ae0d2ed67d116c80786a16d2fdc92213a47f5d Mon Sep 17 00:00:00 2001 From: Vinayak Y B <89510107+Vinayak-YB@users.noreply.github.com> Date: Wed, 27 Oct 2021 19:29:48 +0530 Subject: [PATCH 3/3] Deleted Chef and Spells file --- Beginner/Chef and Spells.py | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 Beginner/Chef and Spells.py diff --git a/Beginner/Chef and Spells.py b/Beginner/Chef and Spells.py deleted file mode 100644 index 99ccd313..00000000 --- a/Beginner/Chef and Spells.py +++ /dev/null @@ -1,10 +0,0 @@ -# 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 = []