SlideShare a Scribd company logo
1 of 1
Download to read offline
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.pdfbolero3277
 
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.pdfbolero3277
 
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).pdfbolero3277
 
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.pdfbolero3277
 
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.pdfbolero3277
 
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.pdfbolero3277
 
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.pdfbolero3277
 
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.pdfbolero3277
 
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.pdfbolero3277
 
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.pdfbolero3277
 
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.pdfbolero3277
 
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.pdfbolero3277
 
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.pdfbolero3277
 
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.pdfbolero3277
 
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.pdfbolero3277
 
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.pdfbolero3277
 
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.pdfbolero3277
 
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.pdfbolero3277
 
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.pdfbolero3277
 
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.pdfbolero3277
 

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

Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jisc
 
Philosophy of china and it's charactistics
Philosophy of china and it's charactisticsPhilosophy of china and it's charactistics
Philosophy of china and it's charactisticshameyhk98
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsNbelano25
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxPooja Bhuva
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
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
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
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
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
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
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
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
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptxJoelynRubio1
 

Recently uploaded (20)

Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Philosophy of china and it's charactistics
Philosophy of china and it's charactisticsPhilosophy of china and it's charactistics
Philosophy of china and it's charactistics
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf arts
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
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...
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
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
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.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_...
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
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
 
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
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.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.