SlideShare a Scribd company logo
1 of 2
Download to read offline
Objective
Take user inputs and add them to the nested dictionary data structure.
Action
The insert function should take patient's first name, last name, the birth month when the vaccine
was administered. The birth month should be an integer. (Use loop when possible). Check the
sample sheet
Patient name: John Smith
Patient record number: R001
Patient name: Olivia James
Patient record number: R002
Use nested dictionary. Use patient variable to store the dictionary. Each entry in the dictionary
should have a "record number" which serve as a key. Research how nested dictionary is defined.
Each record number represents single patient and has nested key:value.
Verify that the patient dictionary has all data.
Call the insert function again and add one record. The new record should be appended and not
overwritten existing records. Verify that the patient dictionary has all data.
Patient name: John Smith
Patient record number: R001
Vaccine months
HepB 0 1 6
RV 2 4 6
DTaP 2 4 6 15
Hib 2 4 6 12
PCV13 2 4 6 12
IPV 2 4 6
IIV4 Annual
MMR 12
VAR 12
HepA 12
Patient name: Olivia James
Patient record number: R002
Vaccine months
HepB 0 1 6
RV 2 4 7
DTaP 2 5 7 12
Hib 2 4 6 12
PCV13 2 5 7 12
IPV 2 5 8
IIV4 Annual
MMR 12
VAR 12
HepA 12

More Related Content

More from Edwardw5nSlaterl

On January 1 - Daniel borrows $5100 with a fixed annual interest rate.pdf
On January 1 - Daniel borrows $5100 with a fixed annual interest rate.pdfOn January 1 - Daniel borrows $5100 with a fixed annual interest rate.pdf
On January 1 - Daniel borrows $5100 with a fixed annual interest rate.pdfEdwardw5nSlaterl
 
On fune 1- 20v7- Young Corporation paid $20-000 cash for machinery tha.pdf
On fune 1- 20v7- Young Corporation paid $20-000 cash for machinery tha.pdfOn fune 1- 20v7- Young Corporation paid $20-000 cash for machinery tha.pdf
On fune 1- 20v7- Young Corporation paid $20-000 cash for machinery tha.pdfEdwardw5nSlaterl
 
On February 1- 2023- Tessa Williams and Audrey Xie formed a partnershi.pdf
On February 1- 2023- Tessa Williams and Audrey Xie formed a partnershi.pdfOn February 1- 2023- Tessa Williams and Audrey Xie formed a partnershi.pdf
On February 1- 2023- Tessa Williams and Audrey Xie formed a partnershi.pdfEdwardw5nSlaterl
 
On December 31- 20X1- the ledger of Lopez Company contained the follow.pdf
On December 31- 20X1- the ledger of Lopez Company contained the follow.pdfOn December 31- 20X1- the ledger of Lopez Company contained the follow.pdf
On December 31- 20X1- the ledger of Lopez Company contained the follow.pdfEdwardw5nSlaterl
 
OK- here we are with Covid-19 and flu- and the rise of other diseases.pdf
OK- here we are with Covid-19 and flu- and the rise of other diseases.pdfOK- here we are with Covid-19 and flu- and the rise of other diseases.pdf
OK- here we are with Covid-19 and flu- and the rise of other diseases.pdfEdwardw5nSlaterl
 
Of the adult population in the United States- 47- have hypertension- A.pdf
Of the adult population in the United States- 47- have hypertension- A.pdfOf the adult population in the United States- 47- have hypertension- A.pdf
Of the adult population in the United States- 47- have hypertension- A.pdfEdwardw5nSlaterl
 
Obtain the demand functions of x and y for the following utility funct.pdf
Obtain the demand functions of x and y for the following utility funct.pdfObtain the demand functions of x and y for the following utility funct.pdf
Obtain the demand functions of x and y for the following utility funct.pdfEdwardw5nSlaterl
 
Obtain a copy of the City of Orlando government's annual operating bud.pdf
Obtain a copy of the City of Orlando government's annual operating bud.pdfObtain a copy of the City of Orlando government's annual operating bud.pdf
Obtain a copy of the City of Orlando government's annual operating bud.pdfEdwardw5nSlaterl
 
Obtain a copy of the City of Orlando government's annual operating bud (1).pdf
Obtain a copy of the City of Orlando government's annual operating bud (1).pdfObtain a copy of the City of Orlando government's annual operating bud (1).pdf
Obtain a copy of the City of Orlando government's annual operating bud (1).pdfEdwardw5nSlaterl
 
Obtain a copy of the City of Orlando government's annual operating bud (4).pdf
Obtain a copy of the City of Orlando government's annual operating bud (4).pdfObtain a copy of the City of Orlando government's annual operating bud (4).pdf
Obtain a copy of the City of Orlando government's annual operating bud (4).pdfEdwardw5nSlaterl
 
Obtain a copy of the City of Orlando government's annual operating bud (2).pdf
Obtain a copy of the City of Orlando government's annual operating bud (2).pdfObtain a copy of the City of Orlando government's annual operating bud (2).pdf
Obtain a copy of the City of Orlando government's annual operating bud (2).pdfEdwardw5nSlaterl
 
Note at least four ways in which the shapes and orientations of the co.pdf
Note at least four ways in which the shapes and orientations of the co.pdfNote at least four ways in which the shapes and orientations of the co.pdf
Note at least four ways in which the shapes and orientations of the co.pdfEdwardw5nSlaterl
 
Nursing poster You are the hiring manager for an organization needing.pdf
Nursing poster You are the hiring manager for an organization needing.pdfNursing poster You are the hiring manager for an organization needing.pdf
Nursing poster You are the hiring manager for an organization needing.pdfEdwardw5nSlaterl
 
Nrite the definition of the function insertBack( ) as a member functio.pdf
Nrite the definition of the function insertBack( ) as a member functio.pdfNrite the definition of the function insertBack( ) as a member functio.pdf
Nrite the definition of the function insertBack( ) as a member functio.pdfEdwardw5nSlaterl
 
Now that we have the words stored- it is time to provide functions tha.pdf
Now that we have the words stored- it is time to provide functions tha.pdfNow that we have the words stored- it is time to provide functions tha.pdf
Now that we have the words stored- it is time to provide functions tha.pdfEdwardw5nSlaterl
 
Notyetanswered pointsout of 400 P Fag question Which of the following.pdf
Notyetanswered pointsout of 400 P Fag question Which of the following.pdfNotyetanswered pointsout of 400 P Fag question Which of the following.pdf
Notyetanswered pointsout of 400 P Fag question Which of the following.pdfEdwardw5nSlaterl
 
NOTE DONT USE A-I to solve the question You must type-design all your.pdf
NOTE DONT USE A-I to solve the question  You must type-design all your.pdfNOTE DONT USE A-I to solve the question  You must type-design all your.pdf
NOTE DONT USE A-I to solve the question You must type-design all your.pdfEdwardw5nSlaterl
 
Norma is a 3 year old child with asthma who lives in Phoenix- Both par (1).pdf
Norma is a 3 year old child with asthma who lives in Phoenix- Both par (1).pdfNorma is a 3 year old child with asthma who lives in Phoenix- Both par (1).pdf
Norma is a 3 year old child with asthma who lives in Phoenix- Both par (1).pdfEdwardw5nSlaterl
 
North Incorporated is a calendar-year C corporation- accrual-basis tax.pdf
North Incorporated is a calendar-year C corporation- accrual-basis tax.pdfNorth Incorporated is a calendar-year C corporation- accrual-basis tax.pdf
North Incorporated is a calendar-year C corporation- accrual-basis tax.pdfEdwardw5nSlaterl
 

More from Edwardw5nSlaterl (20)

On January 1 - Daniel borrows $5100 with a fixed annual interest rate.pdf
On January 1 - Daniel borrows $5100 with a fixed annual interest rate.pdfOn January 1 - Daniel borrows $5100 with a fixed annual interest rate.pdf
On January 1 - Daniel borrows $5100 with a fixed annual interest rate.pdf
 
On fune 1- 20v7- Young Corporation paid $20-000 cash for machinery tha.pdf
On fune 1- 20v7- Young Corporation paid $20-000 cash for machinery tha.pdfOn fune 1- 20v7- Young Corporation paid $20-000 cash for machinery tha.pdf
On fune 1- 20v7- Young Corporation paid $20-000 cash for machinery tha.pdf
 
On February 1- 2023- Tessa Williams and Audrey Xie formed a partnershi.pdf
On February 1- 2023- Tessa Williams and Audrey Xie formed a partnershi.pdfOn February 1- 2023- Tessa Williams and Audrey Xie formed a partnershi.pdf
On February 1- 2023- Tessa Williams and Audrey Xie formed a partnershi.pdf
 
On December 31- 20X1- the ledger of Lopez Company contained the follow.pdf
On December 31- 20X1- the ledger of Lopez Company contained the follow.pdfOn December 31- 20X1- the ledger of Lopez Company contained the follow.pdf
On December 31- 20X1- the ledger of Lopez Company contained the follow.pdf
 
OK- here we are with Covid-19 and flu- and the rise of other diseases.pdf
OK- here we are with Covid-19 and flu- and the rise of other diseases.pdfOK- here we are with Covid-19 and flu- and the rise of other diseases.pdf
OK- here we are with Covid-19 and flu- and the rise of other diseases.pdf
 
Of the adult population in the United States- 47- have hypertension- A.pdf
Of the adult population in the United States- 47- have hypertension- A.pdfOf the adult population in the United States- 47- have hypertension- A.pdf
Of the adult population in the United States- 47- have hypertension- A.pdf
 
Obtain the demand functions of x and y for the following utility funct.pdf
Obtain the demand functions of x and y for the following utility funct.pdfObtain the demand functions of x and y for the following utility funct.pdf
Obtain the demand functions of x and y for the following utility funct.pdf
 
Obtain a copy of the City of Orlando government's annual operating bud.pdf
Obtain a copy of the City of Orlando government's annual operating bud.pdfObtain a copy of the City of Orlando government's annual operating bud.pdf
Obtain a copy of the City of Orlando government's annual operating bud.pdf
 
Obtain a copy of the City of Orlando government's annual operating bud (1).pdf
Obtain a copy of the City of Orlando government's annual operating bud (1).pdfObtain a copy of the City of Orlando government's annual operating bud (1).pdf
Obtain a copy of the City of Orlando government's annual operating bud (1).pdf
 
Obtain a copy of the City of Orlando government's annual operating bud (4).pdf
Obtain a copy of the City of Orlando government's annual operating bud (4).pdfObtain a copy of the City of Orlando government's annual operating bud (4).pdf
Obtain a copy of the City of Orlando government's annual operating bud (4).pdf
 
Obtain a copy of the City of Orlando government's annual operating bud (2).pdf
Obtain a copy of the City of Orlando government's annual operating bud (2).pdfObtain a copy of the City of Orlando government's annual operating bud (2).pdf
Obtain a copy of the City of Orlando government's annual operating bud (2).pdf
 
Note at least four ways in which the shapes and orientations of the co.pdf
Note at least four ways in which the shapes and orientations of the co.pdfNote at least four ways in which the shapes and orientations of the co.pdf
Note at least four ways in which the shapes and orientations of the co.pdf
 
Nursing poster You are the hiring manager for an organization needing.pdf
Nursing poster You are the hiring manager for an organization needing.pdfNursing poster You are the hiring manager for an organization needing.pdf
Nursing poster You are the hiring manager for an organization needing.pdf
 
Nrite the definition of the function insertBack( ) as a member functio.pdf
Nrite the definition of the function insertBack( ) as a member functio.pdfNrite the definition of the function insertBack( ) as a member functio.pdf
Nrite the definition of the function insertBack( ) as a member functio.pdf
 
Now that we have the words stored- it is time to provide functions tha.pdf
Now that we have the words stored- it is time to provide functions tha.pdfNow that we have the words stored- it is time to provide functions tha.pdf
Now that we have the words stored- it is time to provide functions tha.pdf
 
November 30-20Y5Jou.pdf
November 30-20Y5Jou.pdfNovember 30-20Y5Jou.pdf
November 30-20Y5Jou.pdf
 
Notyetanswered pointsout of 400 P Fag question Which of the following.pdf
Notyetanswered pointsout of 400 P Fag question Which of the following.pdfNotyetanswered pointsout of 400 P Fag question Which of the following.pdf
Notyetanswered pointsout of 400 P Fag question Which of the following.pdf
 
NOTE DONT USE A-I to solve the question You must type-design all your.pdf
NOTE DONT USE A-I to solve the question  You must type-design all your.pdfNOTE DONT USE A-I to solve the question  You must type-design all your.pdf
NOTE DONT USE A-I to solve the question You must type-design all your.pdf
 
Norma is a 3 year old child with asthma who lives in Phoenix- Both par (1).pdf
Norma is a 3 year old child with asthma who lives in Phoenix- Both par (1).pdfNorma is a 3 year old child with asthma who lives in Phoenix- Both par (1).pdf
Norma is a 3 year old child with asthma who lives in Phoenix- Both par (1).pdf
 
North Incorporated is a calendar-year C corporation- accrual-basis tax.pdf
North Incorporated is a calendar-year C corporation- accrual-basis tax.pdfNorth Incorporated is a calendar-year C corporation- accrual-basis tax.pdf
North Incorporated is a calendar-year C corporation- accrual-basis tax.pdf
 

Recently uploaded

Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxmarlenawright1
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxPooja Bhuva
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxannathomasp01
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...Nguyen Thanh Tu Collection
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 

Recently uploaded (20)

Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 

Objective Take user inputs and add them to the nested dictionary data.pdf

  • 1. Objective Take user inputs and add them to the nested dictionary data structure. Action The insert function should take patient's first name, last name, the birth month when the vaccine was administered. The birth month should be an integer. (Use loop when possible). Check the sample sheet Patient name: John Smith Patient record number: R001 Patient name: Olivia James Patient record number: R002 Use nested dictionary. Use patient variable to store the dictionary. Each entry in the dictionary should have a "record number" which serve as a key. Research how nested dictionary is defined. Each record number represents single patient and has nested key:value. Verify that the patient dictionary has all data. Call the insert function again and add one record. The new record should be appended and not overwritten existing records. Verify that the patient dictionary has all data. Patient name: John Smith Patient record number: R001 Vaccine months HepB 0 1 6 RV 2 4 6 DTaP 2 4 6 15 Hib 2 4 6 12 PCV13 2 4 6 12 IPV 2 4 6 IIV4 Annual MMR 12 VAR 12 HepA 12 Patient name: Olivia James Patient record number: R002
  • 2. Vaccine months HepB 0 1 6 RV 2 4 7 DTaP 2 5 7 12 Hib 2 4 6 12 PCV13 2 5 7 12 IPV 2 5 8 IIV4 Annual MMR 12 VAR 12 HepA 12