input: 
  def create_post(data: dict) -> int:
      """ Creates a new BlogPost with the given title and content and returns the ID of the new post.
      >>> create_post({'title': 'First Post', 'content': 'This is the first post content'})
      1
      >>> create_post({'title': 'Second Post', 'content': 'This is the second post content'})
      2
      """
  
output:     post_id = len(posts) + 1
      posts.append({'id': post_id, 'title': data['title'], 'content': data['content']})
      return post_id