old_contents: #! /usr/bin/env python
  
  """
  Write a program to display the peom The Road Not Taken by Robert Frost.
  
  Two roads diverged in a yellow wood,
  And sorry I could not travel both
  And be one traveler, long I stood
  And looked down one as far as I could
  To where it bent in the undergrowth;
  
  Then took the other, as just as fair,
  And having perhaps the better claim,
  Because it was grassy and wanted wear;
  Though as for that the passing there
  Had worn them really about the same,
  
  And both that morning equally lay
  In leaves no step had trodden black.
  Oh, I kept the first for another day!
  Yet knowing how way leads on to way,
  I doubted if I should ever come back.
  
  I shall be telling this with a sigh
  Somewhere ages and ages hence:
  Two roads diverged in a wood, and I—
  I took the one less traveled by,
  And that has made all the difference.
  """
  
  # Below is function definition
  def main():
      # Step 1
      # Create variable named poem and store them.
      # Add a new line to the poem and add author's name.
  
      #Step 2:
      # Find no of times word "I" is used in the poem
  
      #Step 3:
      # Replace could not with couldn't
      pass
  
  
  # __name__ holds the name of the current module
  if __name__ == "__main__":
      main() # call main function
  
new_contents: #! /usr/bin/env python
  
  """
  Write a program to display the poem The Road Not Taken by Robert Frost.
  
  Two roads diverged in a yellow wood,
  And sorry I could not travel both
  And be one traveler, long I stood
  And looked down one as far as I could
  To where it bent in the undergrowth;
  
  Then took the other, as just as fair,
  And having perhaps the better claim,
  Because it was grassy and wanted wear;
  Though as for that the passing there
  Had worn them really about the same,
  
  And both that morning equally lay
  In leaves no step had trodden black.
  Oh, I kept the first for another day!
  Yet knowing how way leads on to way,
  I doubted if I should ever come back.
  
  I shall be telling this with a sigh
  Somewhere ages and ages hence:
  Two roads diverged in a wood, and I—
  I took the one less traveled by,
  And that has made all the difference.
  """
  
  # Below is function definition
  def main():
      # Step 1
      # Create variable named poem to store the poem.
      # Add a new line to poem and add the author's name.
  
      #Step 2:
      # Find no of times word "I" is used in the poem
  
      #Step 3:
      # Replace "could not" with "couldn't"
      pass
  
  
  # __name__ holds the name of the current module
  if __name__ == "__main__":
      main() # call main function
  
subject: Update 04-string-methods.py