Search
A chemist creates a function isAlcohol to determine whether an organic compound is alcohol or not by checking if its name ends with nol. Display true if it is alcohol, and false otherwise.
For example: