diff options
| author | omagdy7 <omar.professional8777@gmail.com> | 2023-03-30 23:38:17 +0200 |
|---|---|---|
| committer | omagdy7 <omar.professional8777@gmail.com> | 2023-03-30 23:38:17 +0200 |
| commit | 2842e9ef52d61fb52228ef4d7bc45f5aeb954ab3 (patch) | |
| tree | 83491054ffb89ccfdb14b73e4f5103dce64f47d1 /codeforces/Yes-Yes/main.py | |
| parent | 4529466e757ee26063bcf943a22223d12ad6a792 (diff) | |
| download | competitive-programming-2842e9ef52d61fb52228ef4d7bc45f5aeb954ab3.tar.xz competitive-programming-2842e9ef52d61fb52228ef4d7bc45f5aeb954ab3.zip | |
Solved a couple of problem on codeforces
Diffstat (limited to 'codeforces/Yes-Yes/main.py')
| -rw-r--r-- | codeforces/Yes-Yes/main.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/codeforces/Yes-Yes/main.py b/codeforces/Yes-Yes/main.py new file mode 100644 index 0000000..1592898 --- /dev/null +++ b/codeforces/Yes-Yes/main.py @@ -0,0 +1,12 @@ + +tt = int(input()) +for _ in range(tt): + s = input() + new_s = "Yes" * 20 + if s in new_s: + print("YES") + else: + print("NO") + + + |
