Detect if the input contains only letters

output 1 if input is only letters.
output 0 if input contains anything that is not a letter.

IN

r7oXpZe9NBPS7Rbj

OUT

0

IN

VJT63NuYxZjIWREu

OUT

0

IN

OhesLuQPHDyztooU

OUT

1

IN

rYUFsCTWJmrmzcNc

OUT

1

IN

AmMtgzklrKQhRZJD

OUT

1

IN

aPorUe3QKaVMJ4v2

OUT

0

IN

rQRHpyydN3MiEoPY

OUT

0

IN

fXUzUsRhqFzZgCGE

OUT

1

IN

fXUzUsRhqFzZgCGE

OUT

1

IN

PbbxRVunfktFvCTa

OUT

1

IN

lRFJEAd4EEv6Gm1k

OUT

0

IN

ltLWCKe5ErPAMX17

OUT

0


Leave a comment

Parsed as Markdown

Login to leave a comment