diff options
| author | omagdy7 <omar.professional8777@gmail.com> | 2022-07-08 19:54:42 +0200 |
|---|---|---|
| committer | omagdy7 <omar.professional8777@gmail.com> | 2022-07-08 19:54:42 +0200 |
| commit | dd684349c67c988ef19707cb65e637b6906fac75 (patch) | |
| tree | 2fd9ac45ef08351c8164eda640dade2890f4c731 /codechef/ChefAndFeedBack/main.py | |
| parent | 4688ed5f3a56ac6698250e2169adbfbe53b8b685 (diff) | |
| download | competitive-programming-dd684349c67c988ef19707cb65e637b6906fac75.tar.xz competitive-programming-dd684349c67c988ef19707cb65e637b6906fac75.zip | |
Solved some new problems
Diffstat (limited to 'codechef/ChefAndFeedBack/main.py')
| -rw-r--r-- | codechef/ChefAndFeedBack/main.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/codechef/ChefAndFeedBack/main.py b/codechef/ChefAndFeedBack/main.py new file mode 100644 index 0000000..afde99f --- /dev/null +++ b/codechef/ChefAndFeedBack/main.py @@ -0,0 +1,8 @@ +t = int(input()) +for i in range(t): + s = input() + if "101" in s or "010" in s: + print("Good") + else: + print("Bad") + |
