SlideShare a Scribd company logo
I need this in PYTHON please
Write a program that creates a Person class that contains string that represent the first and last
name of a person and their age. You will need to create a Queue class that will store each person
in the queue and can sort the queue based on last name or age.
Prompt the user of the program to add five people to the queue Your program should provide the
contents of the queue and then sort the queue using the quick sort in two ways:
Descending order by last name.
Descending order by age.

More Related Content

More from bolero3277

i tried my best to look the exact same from the picture- but some code.pdf
i tried my best to look the exact same from the picture- but some code.pdfi tried my best to look the exact same from the picture- but some code.pdf
i tried my best to look the exact same from the picture- but some code.pdf
bolero3277
 
I need to create a react app with 2 routes- First route displays all t.pdf
I need to create a react app with 2 routes- First route displays all t.pdfI need to create a react app with 2 routes- First route displays all t.pdf
I need to create a react app with 2 routes- First route displays all t.pdf
bolero3277
 
I need two different species with the questions below and a citation C (1).pdf
I need two different species with the questions below and a citation C (1).pdfI need two different species with the questions below and a citation C (1).pdf
I need two different species with the questions below and a citation C (1).pdf
bolero3277
 
Identify what type of evidence of evolution each of the examples demon.pdf
Identify what type of evidence of evolution each of the examples demon.pdfIdentify what type of evidence of evolution each of the examples demon.pdf
Identify what type of evidence of evolution each of the examples demon.pdf
bolero3277
 
Identify the iower class limits- upper class limits- class width- clas.pdf
Identify the iower class limits- upper class limits- class width- clas.pdfIdentify the iower class limits- upper class limits- class width- clas.pdf
Identify the iower class limits- upper class limits- class width- clas.pdf
bolero3277
 
I need to find the amount of Deposit and Contribution and the Interest.pdf
I need to find the amount of Deposit and Contribution and the Interest.pdfI need to find the amount of Deposit and Contribution and the Interest.pdf
I need to find the amount of Deposit and Contribution and the Interest.pdf
bolero3277
 
IDX Tech is looking to expand its investment in advanced security syst.pdf
IDX Tech is looking to expand its investment in advanced security syst.pdfIDX Tech is looking to expand its investment in advanced security syst.pdf
IDX Tech is looking to expand its investment in advanced security syst.pdf
bolero3277
 
ICE-#6 Transposable Elements (T-E-s) can disrupt genes and affect an o.pdf
ICE-#6 Transposable Elements (T-E-s) can disrupt genes and affect an o.pdfICE-#6 Transposable Elements (T-E-s) can disrupt genes and affect an o.pdf
ICE-#6 Transposable Elements (T-E-s) can disrupt genes and affect an o.pdf
bolero3277
 
Identify the symbiotic relationship that exists between the Nostoc and.pdf
Identify the symbiotic relationship that exists between the Nostoc and.pdfIdentify the symbiotic relationship that exists between the Nostoc and.pdf
Identify the symbiotic relationship that exists between the Nostoc and.pdf
bolero3277
 
Identify the structures of the lymph node- Part A Drag the labels onto.pdf
Identify the structures of the lymph node- Part A Drag the labels onto.pdfIdentify the structures of the lymph node- Part A Drag the labels onto.pdf
Identify the structures of the lymph node- Part A Drag the labels onto.pdf
bolero3277
 
Identify the significant differences between solar radiation (from the.pdf
Identify the significant differences between solar radiation (from the.pdfIdentify the significant differences between solar radiation (from the.pdf
Identify the significant differences between solar radiation (from the.pdf
bolero3277
 
Identify this molecule- (1+1) What is the type of linkage that forms t.pdf
Identify this molecule- (1+1) What is the type of linkage that forms t.pdfIdentify this molecule- (1+1) What is the type of linkage that forms t.pdf
Identify this molecule- (1+1) What is the type of linkage that forms t.pdf
bolero3277
 
Identify the independent and dependent variable(s)- An increase in opp.pdf
Identify the independent and dependent variable(s)- An increase in opp.pdfIdentify the independent and dependent variable(s)- An increase in opp.pdf
Identify the independent and dependent variable(s)- An increase in opp.pdf
bolero3277
 
Identify the independent and dependent variable(s)- Increases in secur.pdf
Identify the independent and dependent variable(s)- Increases in secur.pdfIdentify the independent and dependent variable(s)- Increases in secur.pdf
Identify the independent and dependent variable(s)- Increases in secur.pdf
bolero3277
 
Identify the eukaryotic cell structure labeled F fagellum glycocalyx c.pdf
Identify the eukaryotic cell structure labeled F fagellum glycocalyx c.pdfIdentify the eukaryotic cell structure labeled F fagellum glycocalyx c.pdf
Identify the eukaryotic cell structure labeled F fagellum glycocalyx c.pdf
bolero3277
 
Identify the independent and dependent variable(s)- Customer satisfact.pdf
Identify the independent and dependent variable(s)- Customer satisfact.pdfIdentify the independent and dependent variable(s)- Customer satisfact.pdf
Identify the independent and dependent variable(s)- Customer satisfact.pdf
bolero3277
 
Identify the four interventions of planned change discussed in the cha.pdf
Identify the four interventions of planned change discussed in the cha.pdfIdentify the four interventions of planned change discussed in the cha.pdf
Identify the four interventions of planned change discussed in the cha.pdf
bolero3277
 
Identify the following on the diagram below- Pith- Cork-Periderm- Cork.pdf
Identify the following on the diagram below- Pith- Cork-Periderm- Cork.pdfIdentify the following on the diagram below- Pith- Cork-Periderm- Cork.pdf
Identify the following on the diagram below- Pith- Cork-Periderm- Cork.pdf
bolero3277
 
Identify the 2 ways in which a covered entity must disclose protected.pdf
Identify the 2 ways in which a covered entity must disclose protected.pdfIdentify the 2 ways in which a covered entity must disclose protected.pdf
Identify the 2 ways in which a covered entity must disclose protected.pdf
bolero3277
 
Identify the anatomical feature of the frontal section of the heart la.pdf
Identify the anatomical feature of the frontal section of the heart la.pdfIdentify the anatomical feature of the frontal section of the heart la.pdf
Identify the anatomical feature of the frontal section of the heart la.pdf
bolero3277
 

More from bolero3277 (20)

i tried my best to look the exact same from the picture- but some code.pdf
i tried my best to look the exact same from the picture- but some code.pdfi tried my best to look the exact same from the picture- but some code.pdf
i tried my best to look the exact same from the picture- but some code.pdf
 
I need to create a react app with 2 routes- First route displays all t.pdf
I need to create a react app with 2 routes- First route displays all t.pdfI need to create a react app with 2 routes- First route displays all t.pdf
I need to create a react app with 2 routes- First route displays all t.pdf
 
I need two different species with the questions below and a citation C (1).pdf
I need two different species with the questions below and a citation C (1).pdfI need two different species with the questions below and a citation C (1).pdf
I need two different species with the questions below and a citation C (1).pdf
 
Identify what type of evidence of evolution each of the examples demon.pdf
Identify what type of evidence of evolution each of the examples demon.pdfIdentify what type of evidence of evolution each of the examples demon.pdf
Identify what type of evidence of evolution each of the examples demon.pdf
 
Identify the iower class limits- upper class limits- class width- clas.pdf
Identify the iower class limits- upper class limits- class width- clas.pdfIdentify the iower class limits- upper class limits- class width- clas.pdf
Identify the iower class limits- upper class limits- class width- clas.pdf
 
I need to find the amount of Deposit and Contribution and the Interest.pdf
I need to find the amount of Deposit and Contribution and the Interest.pdfI need to find the amount of Deposit and Contribution and the Interest.pdf
I need to find the amount of Deposit and Contribution and the Interest.pdf
 
IDX Tech is looking to expand its investment in advanced security syst.pdf
IDX Tech is looking to expand its investment in advanced security syst.pdfIDX Tech is looking to expand its investment in advanced security syst.pdf
IDX Tech is looking to expand its investment in advanced security syst.pdf
 
ICE-#6 Transposable Elements (T-E-s) can disrupt genes and affect an o.pdf
ICE-#6 Transposable Elements (T-E-s) can disrupt genes and affect an o.pdfICE-#6 Transposable Elements (T-E-s) can disrupt genes and affect an o.pdf
ICE-#6 Transposable Elements (T-E-s) can disrupt genes and affect an o.pdf
 
Identify the symbiotic relationship that exists between the Nostoc and.pdf
Identify the symbiotic relationship that exists between the Nostoc and.pdfIdentify the symbiotic relationship that exists between the Nostoc and.pdf
Identify the symbiotic relationship that exists between the Nostoc and.pdf
 
Identify the structures of the lymph node- Part A Drag the labels onto.pdf
Identify the structures of the lymph node- Part A Drag the labels onto.pdfIdentify the structures of the lymph node- Part A Drag the labels onto.pdf
Identify the structures of the lymph node- Part A Drag the labels onto.pdf
 
Identify the significant differences between solar radiation (from the.pdf
Identify the significant differences between solar radiation (from the.pdfIdentify the significant differences between solar radiation (from the.pdf
Identify the significant differences between solar radiation (from the.pdf
 
Identify this molecule- (1+1) What is the type of linkage that forms t.pdf
Identify this molecule- (1+1) What is the type of linkage that forms t.pdfIdentify this molecule- (1+1) What is the type of linkage that forms t.pdf
Identify this molecule- (1+1) What is the type of linkage that forms t.pdf
 
Identify the independent and dependent variable(s)- An increase in opp.pdf
Identify the independent and dependent variable(s)- An increase in opp.pdfIdentify the independent and dependent variable(s)- An increase in opp.pdf
Identify the independent and dependent variable(s)- An increase in opp.pdf
 
Identify the independent and dependent variable(s)- Increases in secur.pdf
Identify the independent and dependent variable(s)- Increases in secur.pdfIdentify the independent and dependent variable(s)- Increases in secur.pdf
Identify the independent and dependent variable(s)- Increases in secur.pdf
 
Identify the eukaryotic cell structure labeled F fagellum glycocalyx c.pdf
Identify the eukaryotic cell structure labeled F fagellum glycocalyx c.pdfIdentify the eukaryotic cell structure labeled F fagellum glycocalyx c.pdf
Identify the eukaryotic cell structure labeled F fagellum glycocalyx c.pdf
 
Identify the independent and dependent variable(s)- Customer satisfact.pdf
Identify the independent and dependent variable(s)- Customer satisfact.pdfIdentify the independent and dependent variable(s)- Customer satisfact.pdf
Identify the independent and dependent variable(s)- Customer satisfact.pdf
 
Identify the four interventions of planned change discussed in the cha.pdf
Identify the four interventions of planned change discussed in the cha.pdfIdentify the four interventions of planned change discussed in the cha.pdf
Identify the four interventions of planned change discussed in the cha.pdf
 
Identify the following on the diagram below- Pith- Cork-Periderm- Cork.pdf
Identify the following on the diagram below- Pith- Cork-Periderm- Cork.pdfIdentify the following on the diagram below- Pith- Cork-Periderm- Cork.pdf
Identify the following on the diagram below- Pith- Cork-Periderm- Cork.pdf
 
Identify the 2 ways in which a covered entity must disclose protected.pdf
Identify the 2 ways in which a covered entity must disclose protected.pdfIdentify the 2 ways in which a covered entity must disclose protected.pdf
Identify the 2 ways in which a covered entity must disclose protected.pdf
 
Identify the anatomical feature of the frontal section of the heart la.pdf
Identify the anatomical feature of the frontal section of the heart la.pdfIdentify the anatomical feature of the frontal section of the heart la.pdf
Identify the anatomical feature of the frontal section of the heart la.pdf
 

Recently uploaded

The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
JEE1_This_section_contains_FOUR_ questions
JEE1_This_section_contains_FOUR_ questionsJEE1_This_section_contains_FOUR_ questions
JEE1_This_section_contains_FOUR_ questions
ShivajiThube2
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 

Recently uploaded (20)

The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
JEE1_This_section_contains_FOUR_ questions
JEE1_This_section_contains_FOUR_ questionsJEE1_This_section_contains_FOUR_ questions
JEE1_This_section_contains_FOUR_ questions
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 

I need this in PYTHON please Write a program that creates a Person cl.pdf

  • 1. I need this in PYTHON please Write a program that creates a Person class that contains string that represent the first and last name of a person and their age. You will need to create a Queue class that will store each person in the queue and can sort the queue based on last name or age. Prompt the user of the program to add five people to the queue Your program should provide the contents of the queue and then sort the queue using the quick sort in two ways: Descending order by last name. Descending order by age.