code: def print_logins(logins):
      
      table = formatting.Table(['Date', 'IP Address', 'Successufl Login?'])
      for login in logins:
          table.add_row([login.get('createDate'), login.get('ipAddress'), login.get('successFlag')])
      return table
docs: Prints out the login history for a user