"""Helper to output stuff"""

from tabulate import tabulate


def print_list(header, entries):
    """Prints out a list"""
    print(tabulate(entries, header, tablefmt="grid"))


def std_input(text, default):
    """Get input or return default if none is given."""
    return input(text.format(default)) or default

"""Helper to output stuff"""

from tabulate import tabulate


def print_list(header, entries):
    """Prints out a list"""
    print(tabulate(entries, header, tablefmt="grid"))


def print_table(entries):
    """Prints out a table"""
    print(tabulate(entries, tablefmt="plain"))


def std_input(text, default):
    """Get input or return default if none is given."""
    return input(text.format(default)) or default

Add function to just print a simple table
Add function to just print a simple table


  """Helper to output stuff"""
  
  from tabulate import tabulate
  
  
  def print_list(header, entries):
      """Prints out a list"""
      print(tabulate(entries, header, tablefmt="grid"))
  
  
+ def print_table(entries):
+     """Prints out a table"""
+     print(tabulate(entries, tablefmt="plain"))
+ 
+ 
  def std_input(text, default):
      """Get input or return default if none is given."""
      return input(text.format(default)) or default
  
Add function to just print a simple table
## Code Before:
"""Helper to output stuff"""

from tabulate import tabulate


def print_list(header, entries):
    """Prints out a list"""
    print(tabulate(entries, header, tablefmt="grid"))


def std_input(text, default):
    """Get input or return default if none is given."""
    return input(text.format(default)) or default

## Instruction:
Add function to just print a simple table
## Code After:
"""Helper to output stuff"""

from tabulate import tabulate


def print_list(header, entries):
    """Prints out a list"""
    print(tabulate(entries, header, tablefmt="grid"))


def print_table(entries):
    """Prints out a table"""
    print(tabulate(entries, tablefmt="plain"))


def std_input(text, default):
    """Get input or return default if none is given."""
    return input(text.format(default)) or default
