Building a Random Name Generator application.
In this project, I built a text-based user interface that will take a input and output a list of random names from a pre-defined list.
- User inputs
- Validating inputs
- Importing packages
- Documenting code
- Writing functions
- Control flows
- Printing outputs to the user
- Using random functionality in Python
- Basic structure of Python Scripts
This application with simulate randomly generating names from a pre-defined list. A use case could be: a set of new parents can't choose a name from a shortlist. Why not use Python to help!
The application:
- Takes a user input of shortlist names.
- Takes a second user input of how many names they want randomly selected from that shortlist. This should be a positive integer. The app should check if the input is valid.
- Prints to the user the randomly selected names.