Here, we have put together two functions that help us to interact with the code in a more convenient way.