human
Give me a Python function to print in fixed width.
assistant
Here is a Python function to print in fixed width

import pandas as pd

def print_in_fixed_width(text, width=80):
  """Print text in fixed width."""
  print(text)
  print("\n")
  print(("-" * width))

# Enter the text
text = "Hello World!"

# Calling the function
print((print_in_fixed_width(text)))

#Example Output
# Hello World!
# --------------------------------------------------------------------------------
# None

#Remember to inspect code for bugs.