A simple module to print nested list along with indentation and tab spacing
Use the below function to print the nested list elements.
—val1 = This is a required parameter. It carries the list name.
—val2 = This is optional.It carries boolean value. Set it True if any indentation is required. Default is False.
—val3 = This is optional.This is an integer and carries the tab space value. Default is zero.