A general-purpose language that uses indentation to define code blocks and is commonly used for data ingestion scripts…