function that takes a list of strings and prints them, one per line, in a rectangular frame

  1. Write a function that takes a list of strings and prints them, one per line, in a rectangular frame. For example the list [“Hello”, “World”, “in”, “a”, “frame”] gets printed as:

  • Hello *
  • World *
  • in *
  • a *
  • frame *