old_contents: #importing select friend and spy details
  from select_friend import select_friend
  from spy_details import ChatMessage, friends
  
  # function for send help message
  def send_message_help():
      # select friend who had sent an emergency message.
      friends_choice = select_friend()
  
      # send the helping text message to the friend in emergency.
      text = "Bro. I'm comming to save you. Don't worry. "
  
      # the message will be added to chat message class
      new_chat = ChatMessage(text, True)
  
      # adding the message to friend in emergency
      friends[friends_choice].chats.append(new_chat)
new_contents: #importing select friend and spy details
  from select_friend import select_friend
  from spy_details import ChatMessage, friends
  
  # function for send help message
  def send_message_help():
      # select friend who had sent an emergency message.
      friends_choice = select_friend()
  
      # send the helping text message to the friend in emergency.
      text = "Bro. I'm coming to save you. Don't worry. "
  
      # the message will be added to chat message class
      new_chat = ChatMessage(text, True)
  
      # adding the message to friend in emergency
      friends[friends_choice].chats.append(new_chat)
subject: send message help added.