Based on the requirement of the user, sometimes you may need to produce an output of different data types. You might need to perform a numeric calculation inside the function, but an output needs to display as a text or sometimes, the input is numeric but the output is a customized graph. There are several types of output that can be produced by creating customized function; also, the values of the output can be controlled. In this recipe, you will write a new function that can produce diffeent types of output.