Python

Generate a Python script to scrape the first {number_of_headlines} headlines from {news_website} and save them to a CSV file. Include comments and error handling.