diff options
Diffstat (limited to 'challenge-190/ealvar3z/python/ch-1.py')
| -rw-r--r-- | challenge-190/ealvar3z/python/ch-1.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/challenge-190/ealvar3z/python/ch-1.py b/challenge-190/ealvar3z/python/ch-1.py new file mode 100644 index 0000000000..e489011232 --- /dev/null +++ b/challenge-190/ealvar3z/python/ch-1.py @@ -0,0 +1,16 @@ +#!/usr/bin/env python3 + + +if __name__ == "__main__": + + tests = ['Perl', 'TPF', 'PyThon', 'raku'] + + for w in tests: + match w: + case w if not w.isupper() and not w.istitle() and not w.islower(): + print(f'Input: {w}') + print('Output: 0') + case _: + print(f'Input: {w}') + print('Output: 1') + |
