Picky parents

Report a typo

A couple of friends that you know have recently become parents. Moreover, they have bought a puppy! However, they are having a hard time coming up with a name for it. They have decided that the name should start with any letter from B to N and the second character has to be a vowel.

Write a program that checks whether a name suits these two criteria and prints "Suitable!" if a match is found.

Sample Input 1:

Butterfly

Sample Output 1:

Suitable!
Write a program in Python 3
import re

# your code here
___

Create a free account to access the full topic