Python 3, 89 bytes
lambda s:p(len(s))and p(sum(ord(c)&31for c in s))
p=lambda n:all(n%i for i in range(2,n))
Noodle9
- 20.4k
- 3
- 23
- 47
Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack Exchange