Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Data Analytics and Exploration - Sources of Data Hi , Thanks in advance for helping with both below Questions. Comp Task 1 AND Comp Task

Data Analytics and Exploration - Sources of Data

Hi , Thanks in advance for helping with both below Questions.

Comp Task 1 AND Comp Task 2

Please assist with comments as well.

image text in transcribedSITE : https://jsonlint.com/

image text in transcribed

Compulsory Task 1 Follow these instructions: - Create a file named books.json. - You are going to populate the file with data about books. Have at least 6 books and choose four attributes, such as the author and year of publication. Create JSON objects for the books. Make sure your JSON string is valid by Parsing it through this site. Follow these instructions: - Create a python program called taskXML.py. Write the code to: Read in the movie.xml file. Read about the iter() and itertext() function here. Use the iter() function to list all the child tags of the movie element. Use the itertext( ) function to print out the movie descriptions. Find the number of movies that are favourites and the number of movies that are not

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions