aboutsummaryrefslogtreecommitdiff
path: root/challenge-190/ealvar3z/python/ch-1.py
blob: e4890112328b1271f3180e897a6956a80326a0cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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')