code: def tasks():
      '''Display registered tasks with their queue'''
      tasks = get_tasks()
      longest = max(tasks.keys(), key=len)
      size = len(longest)
      for name, queue in sorted(tasks.items()):
          print('* {0}: {1}'.format(name.ljust(size), queue)f tasks():
      '''Display registered tasks with their queue'''
      tasks = get_tasks()
      longest = max(tasks.keys(), key=len)
      size = len(longest)
      for name, queue in sorted(tasks.items()):
          print('* {0}: {1}'.format(name.ljust(size), queue))
docs: Display registered tasks with their queue