Suppose you wanted to create a very simple generic function PrintSlice(). It should take a slice of any type as an argument, and print all of the elements of the slice in a single line.
We have written part of the code for PrintSlice() function for you, your task is to finish implementing it.