
3. Given the XML document NKU_Programs.xml file, a function that prints the contents of
the
Program Name College Name Student Count Year Started Type
*************************************************************************************
Data Science Informatics 100 2015 U
Computer Science Informatics 400 1990 U
Biology Science 300 2000 G
HERE IS THE NKU_Programs.xml FILE
<NKUPRograms>
<Program studCount="100" type="Undergraduate">
<Name>Data Science</Name>
<YearStarted>2015</YearStarted>
<CollegeName>Informatics</CollegeName>
</Program>
<Program studCount="400" type="Undergraduate">
<Name>Computer Science</Name>
<YearStarted>1990</YearStarted>
<CollegeName>Informatics</CollegeName>
</Program>
<Program studCount="300" type="Graduate">
<Name>Biology</Name>
<YearStarted>2000</YearStarted>
<CollegeName>Science</CollegeName>
</Program>
<Program studCount="60" type="Graduate">
<Name>Computer Science</Name>
<YearStarted>2014</YearStarted>
<CollegeName>Informatics</CollegeName>
</Program>
</NKUPRograms>
Can anyone help me with it in Python ?

Trending nowThis is a popular solution!
Step by stepSolved in 3 steps with 1 images

- Python Write a function that takes a string argument and returns a dictionary data structure containing the number of times each letter occurs in the string.arrow_forwardAssignment-2 Write a C program to read input the size and the elements of an integer array from the user and then print all indexes in the array where a positive integer is stored.arrow_forwardI need help on my python assignmentarrow_forward
- matlabarrow_forward2. Write a function addname( ) that takes two strings, a filename, memberList.txt, and person’s name as parameters and adds the new name to the end of the list. The function will write the new file as memberList.txt. If the name is already in the list, the name will not be added.arrow_forwardLab 14: Processing a json file Read in a JSON file such as the following: { "students":[ } { }, { "firstName" "lastName : "Doe", "major" : "CENT", "credits": 12, : "Jane", "exams" : [92.7, 91.4, 95.2] "firstName" : "John" "lastName' : "Doe" "major": "PHYS", "credits" : 10.0, "exams : [91.1, 81.3, 85.6] "firstName" : "Bill", "lastName : "Gates", "major": "ICS", "credits" : 7, exams" : [98.7, 94.4, 96.4] PART 1: Parse the JSON data into a dictionary and output the data as follows: Jane Doe is majoring in CENT John Doe is majoring in PHYS Bill Gates is majoring in ICSarrow_forward
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education





