For this task, you are to write code that checks whether the user's mother's name is common or not. Instructions Your ta
Posted: Fri May 20, 2022 12:13 pm
For this task, you are to write code that checks whether the
user's mother's name is common or not.
Instructions
Your task is to write a program which asks the user what their
mother's name is. The program should then inform the user whether
the name is in the top 5 most popular female birth names for
1921--2020.
The 5 most popular names are:
A set of strings describing these names has already been defined
for you as a constant and must be used in your solution.
To be more user-friendly, you must also ignore the
capitalisation of the input name when checking it (i.e. "mary",
"MARY", and "Mary" are all considered common).
Requirements
To achieve full marks for this task, you must follow the
instructions above when writing your solution. Additionally, your
solution must adhere to the following requirements:
user's mother's name is common or not.
Instructions
Your task is to write a program which asks the user what their
mother's name is. The program should then inform the user whether
the name is in the top 5 most popular female birth names for
1921--2020.
The 5 most popular names are:
A set of strings describing these names has already been defined
for you as a constant and must be used in your solution.
To be more user-friendly, you must also ignore the
capitalisation of the input name when checking it (i.e. "mary",
"MARY", and "Mary" are all considered common).
Requirements
To achieve full marks for this task, you must follow the
instructions above when writing your solution. Additionally, your
solution must adhere to the following requirements: