dictionary output looks clean ie keyvalue white space to separate different objects list is notated with dash (-tuple is indicated first with !!python/tuple and then in the same format as lists loading yaml file so let' say have one yaml filewhich contains--an employee record nameraagvendra joshi jobdeveloper skilloracle employedtrue foodsapple orange strawberry mango languagesoracleelite power_builderelite full stack developerlame education gcses -levels mca in something called com now let' write code to load this yaml file through yaml load function below is code for the same