Your next task is to write a program that will match hyphenated words, such as:
- twenty-one
- long-term
- co-worker
- well-known
It should print True if the word is written with a dash, and False otherwise.
Your next task is to write a program that will match hyphenated words, such as:
It should print True if the word is written with a dash, and False otherwise.
Sample Input 1:
good-lookingSample Output 1:
TrueCreate a free account to access the full topic