SlideShare a Scribd company logo
1 of 1
Download to read offline
Today we will look at lists. You will be given a list called data. Details Input Program input is
handled for you. After some initial processing, you will be left with a list called data that holds a
sequence of integers. Processing/Output Determine the sum of the list items and output: Sum:
{sum of list elements in the list **data**} Determine the maximum element in the list and
output: Max: {maximum element in the list **data**} Determine the minimum element in the
list and output: Min: {minimum element in the list **data**} Sample input/output: Data Output
[1,2,3,4] Sum: 10 Max: 4 Min: 1 [10,20,30,40] Sum: 100 Max: 40 Min: 10 [2,3,5,7,11] Sum: 28
Max: 11 Min: 2

More Related Content

More from aakriticollection61

TRUE OR FALSE- 1- the improvement in the value of the optimal solution.pdf
TRUE OR FALSE- 1- the improvement in the value of the optimal solution.pdfTRUE OR FALSE- 1- the improvement in the value of the optimal solution.pdf
TRUE OR FALSE- 1- the improvement in the value of the optimal solution.pdfaakriticollection61
 
True or False IDA Pro can show the connection between the loops in an.pdf
True or False IDA Pro can show the connection between the loops in an.pdfTrue or False IDA Pro can show the connection between the loops in an.pdf
True or False IDA Pro can show the connection between the loops in an.pdfaakriticollection61
 
True or False Chronic low-grade Inflammation appears to be involved wi.pdf
True or False Chronic low-grade Inflammation appears to be involved wi.pdfTrue or False Chronic low-grade Inflammation appears to be involved wi.pdf
True or False Chronic low-grade Inflammation appears to be involved wi.pdfaakriticollection61
 
True or False- Because physician-assisted suicide in the case of patie.pdf
True or False- Because physician-assisted suicide in the case of patie.pdfTrue or False- Because physician-assisted suicide in the case of patie.pdf
True or False- Because physician-assisted suicide in the case of patie.pdfaakriticollection61
 
True or false In the Prior Appropriation system- the earliest water r.pdf
True or false  In the Prior Appropriation system- the earliest water r.pdfTrue or false  In the Prior Appropriation system- the earliest water r.pdf
True or false In the Prior Appropriation system- the earliest water r.pdfaakriticollection61
 
True or False 1- Deadlisting is as important as debugging a program- 2.pdf
True or False 1- Deadlisting is as important as debugging a program- 2.pdfTrue or False 1- Deadlisting is as important as debugging a program- 2.pdf
True or False 1- Deadlisting is as important as debugging a program- 2.pdfaakriticollection61
 
True or false The legal test for the validity of a Riparian Right is.pdf
True or false  The legal test for the validity of a Riparian Right is.pdfTrue or false  The legal test for the validity of a Riparian Right is.pdf
True or false The legal test for the validity of a Riparian Right is.pdfaakriticollection61
 
True or False The hydrologic cycle is the complete and continuous pro.pdf
True or False  The hydrologic cycle is the complete and continuous pro.pdfTrue or False  The hydrologic cycle is the complete and continuous pro.pdf
True or False The hydrologic cycle is the complete and continuous pro.pdfaakriticollection61
 
True or false A test of reasonable use is that it does not interfere.pdf
True or false  A test of reasonable use is that it does not interfere.pdfTrue or false  A test of reasonable use is that it does not interfere.pdf
True or false A test of reasonable use is that it does not interfere.pdfaakriticollection61
 
True or false A well drilled into a confined aquifer may flow without.pdf
True or false  A well drilled into a confined aquifer may flow without.pdfTrue or false  A well drilled into a confined aquifer may flow without.pdf
True or false A well drilled into a confined aquifer may flow without.pdfaakriticollection61
 
True or False 1- Financial accounting is the area of accounting aime.pdf
True or False   1- Financial accounting is the area of accounting aime.pdfTrue or False   1- Financial accounting is the area of accounting aime.pdf
True or False 1- Financial accounting is the area of accounting aime.pdfaakriticollection61
 
True - False (1 point each) Total 12 Evaluate the following sach) Tota.pdf
True - False (1 point each) Total 12 Evaluate the following sach) Tota.pdfTrue - False (1 point each) Total 12 Evaluate the following sach) Tota.pdf
True - False (1 point each) Total 12 Evaluate the following sach) Tota.pdfaakriticollection61
 
Trepak-The Russian Dance- Calculate the percentage change in the value.pdf
Trepak-The Russian Dance- Calculate the percentage change in the value.pdfTrepak-The Russian Dance- Calculate the percentage change in the value.pdf
Trepak-The Russian Dance- Calculate the percentage change in the value.pdfaakriticollection61
 
Treasury notes and bonds- Use the information in the following table-.pdf
Treasury notes and bonds- Use the information in the following table-.pdfTreasury notes and bonds- Use the information in the following table-.pdf
Treasury notes and bonds- Use the information in the following table-.pdfaakriticollection61
 
Transporter proteins ______ Question 13 options- do not distinguis.pdf
Transporter proteins ______ Question 13 options-     do not distinguis.pdfTransporter proteins ______ Question 13 options-     do not distinguis.pdf
Transporter proteins ______ Question 13 options- do not distinguis.pdfaakriticollection61
 
transmitfile-bin Plugins supporting - -bin files found- 11110110010110.pdf
transmitfile-bin Plugins supporting - -bin files found- 11110110010110.pdftransmitfile-bin Plugins supporting - -bin files found- 11110110010110.pdf
transmitfile-bin Plugins supporting - -bin files found- 11110110010110.pdfaakriticollection61
 
Travel Time (hoursminutesseconds)4- Use a compass or string to sketch.pdf
Travel Time (hoursminutesseconds)4- Use a compass or string to sketch.pdfTravel Time (hoursminutesseconds)4- Use a compass or string to sketch.pdf
Travel Time (hoursminutesseconds)4- Use a compass or string to sketch.pdfaakriticollection61
 
Transmembrane protein A diffuses freely on the apical surface of an ep.pdf
Transmembrane protein A diffuses freely on the apical surface of an ep.pdfTransmembrane protein A diffuses freely on the apical surface of an ep.pdf
Transmembrane protein A diffuses freely on the apical surface of an ep.pdfaakriticollection61
 
Transcription takes place in DNA bubbles that differ from DNA replicat.pdf
Transcription takes place in DNA bubbles that differ from DNA replicat.pdfTranscription takes place in DNA bubbles that differ from DNA replicat.pdf
Transcription takes place in DNA bubbles that differ from DNA replicat.pdfaakriticollection61
 

More from aakriticollection61 (20)

TRUE OR FALSE- 1- the improvement in the value of the optimal solution.pdf
TRUE OR FALSE- 1- the improvement in the value of the optimal solution.pdfTRUE OR FALSE- 1- the improvement in the value of the optimal solution.pdf
TRUE OR FALSE- 1- the improvement in the value of the optimal solution.pdf
 
True or False IDA Pro can show the connection between the loops in an.pdf
True or False IDA Pro can show the connection between the loops in an.pdfTrue or False IDA Pro can show the connection between the loops in an.pdf
True or False IDA Pro can show the connection between the loops in an.pdf
 
True or False Chronic low-grade Inflammation appears to be involved wi.pdf
True or False Chronic low-grade Inflammation appears to be involved wi.pdfTrue or False Chronic low-grade Inflammation appears to be involved wi.pdf
True or False Chronic low-grade Inflammation appears to be involved wi.pdf
 
True or False- Because physician-assisted suicide in the case of patie.pdf
True or False- Because physician-assisted suicide in the case of patie.pdfTrue or False- Because physician-assisted suicide in the case of patie.pdf
True or False- Because physician-assisted suicide in the case of patie.pdf
 
True or false In the Prior Appropriation system- the earliest water r.pdf
True or false  In the Prior Appropriation system- the earliest water r.pdfTrue or false  In the Prior Appropriation system- the earliest water r.pdf
True or false In the Prior Appropriation system- the earliest water r.pdf
 
True or False 1- Deadlisting is as important as debugging a program- 2.pdf
True or False 1- Deadlisting is as important as debugging a program- 2.pdfTrue or False 1- Deadlisting is as important as debugging a program- 2.pdf
True or False 1- Deadlisting is as important as debugging a program- 2.pdf
 
True or false The legal test for the validity of a Riparian Right is.pdf
True or false  The legal test for the validity of a Riparian Right is.pdfTrue or false  The legal test for the validity of a Riparian Right is.pdf
True or false The legal test for the validity of a Riparian Right is.pdf
 
True or False The hydrologic cycle is the complete and continuous pro.pdf
True or False  The hydrologic cycle is the complete and continuous pro.pdfTrue or False  The hydrologic cycle is the complete and continuous pro.pdf
True or False The hydrologic cycle is the complete and continuous pro.pdf
 
True or false A test of reasonable use is that it does not interfere.pdf
True or false  A test of reasonable use is that it does not interfere.pdfTrue or false  A test of reasonable use is that it does not interfere.pdf
True or false A test of reasonable use is that it does not interfere.pdf
 
True or false A well drilled into a confined aquifer may flow without.pdf
True or false  A well drilled into a confined aquifer may flow without.pdfTrue or false  A well drilled into a confined aquifer may flow without.pdf
True or false A well drilled into a confined aquifer may flow without.pdf
 
True or False 1- Financial accounting is the area of accounting aime.pdf
True or False   1- Financial accounting is the area of accounting aime.pdfTrue or False   1- Financial accounting is the area of accounting aime.pdf
True or False 1- Financial accounting is the area of accounting aime.pdf
 
True - False (1 point each) Total 12 Evaluate the following sach) Tota.pdf
True - False (1 point each) Total 12 Evaluate the following sach) Tota.pdfTrue - False (1 point each) Total 12 Evaluate the following sach) Tota.pdf
True - False (1 point each) Total 12 Evaluate the following sach) Tota.pdf
 
trin (1) 12 4x3.pdf
trin (1) 12 4x3.pdftrin (1) 12 4x3.pdf
trin (1) 12 4x3.pdf
 
Trepak-The Russian Dance- Calculate the percentage change in the value.pdf
Trepak-The Russian Dance- Calculate the percentage change in the value.pdfTrepak-The Russian Dance- Calculate the percentage change in the value.pdf
Trepak-The Russian Dance- Calculate the percentage change in the value.pdf
 
Treasury notes and bonds- Use the information in the following table-.pdf
Treasury notes and bonds- Use the information in the following table-.pdfTreasury notes and bonds- Use the information in the following table-.pdf
Treasury notes and bonds- Use the information in the following table-.pdf
 
Transporter proteins ______ Question 13 options- do not distinguis.pdf
Transporter proteins ______ Question 13 options-     do not distinguis.pdfTransporter proteins ______ Question 13 options-     do not distinguis.pdf
Transporter proteins ______ Question 13 options- do not distinguis.pdf
 
transmitfile-bin Plugins supporting - -bin files found- 11110110010110.pdf
transmitfile-bin Plugins supporting - -bin files found- 11110110010110.pdftransmitfile-bin Plugins supporting - -bin files found- 11110110010110.pdf
transmitfile-bin Plugins supporting - -bin files found- 11110110010110.pdf
 
Travel Time (hoursminutesseconds)4- Use a compass or string to sketch.pdf
Travel Time (hoursminutesseconds)4- Use a compass or string to sketch.pdfTravel Time (hoursminutesseconds)4- Use a compass or string to sketch.pdf
Travel Time (hoursminutesseconds)4- Use a compass or string to sketch.pdf
 
Transmembrane protein A diffuses freely on the apical surface of an ep.pdf
Transmembrane protein A diffuses freely on the apical surface of an ep.pdfTransmembrane protein A diffuses freely on the apical surface of an ep.pdf
Transmembrane protein A diffuses freely on the apical surface of an ep.pdf
 
Transcription takes place in DNA bubbles that differ from DNA replicat.pdf
Transcription takes place in DNA bubbles that differ from DNA replicat.pdfTranscription takes place in DNA bubbles that differ from DNA replicat.pdf
Transcription takes place in DNA bubbles that differ from DNA replicat.pdf
 

Recently uploaded

Major project report on Tata Motors and its marketing strategies
Major project report on Tata Motors and its marketing strategiesMajor project report on Tata Motors and its marketing strategies
Major project report on Tata Motors and its marketing strategiesAmanpreetKaur157993
 
UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024Borja Sotomayor
 
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文中 央社
 
How To Create Editable Tree View in Odoo 17
How To Create Editable Tree View in Odoo 17How To Create Editable Tree View in Odoo 17
How To Create Editable Tree View in Odoo 17Celine George
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽中 央社
 
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes GuàrdiaPersonalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes GuàrdiaEADTU
 
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptxAnalyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptxLimon Prince
 
An overview of the various scriptures in Hinduism
An overview of the various scriptures in HinduismAn overview of the various scriptures in Hinduism
An overview of the various scriptures in HinduismDabee Kamal
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...Nguyen Thanh Tu Collection
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxannathomasp01
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...Nguyen Thanh Tu Collection
 
Rich Dad Poor Dad ( PDFDrive.com )--.pdf
Rich Dad Poor Dad ( PDFDrive.com )--.pdfRich Dad Poor Dad ( PDFDrive.com )--.pdf
Rich Dad Poor Dad ( PDFDrive.com )--.pdfJerry Chew
 
Improved Approval Flow in Odoo 17 Studio App
Improved Approval Flow in Odoo 17 Studio AppImproved Approval Flow in Odoo 17 Studio App
Improved Approval Flow in Odoo 17 Studio AppCeline George
 
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdfContoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdfcupulin
 
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...Nguyen Thanh Tu Collection
 
Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...EduSkills OECD
 

Recently uploaded (20)

Major project report on Tata Motors and its marketing strategies
Major project report on Tata Motors and its marketing strategiesMajor project report on Tata Motors and its marketing strategies
Major project report on Tata Motors and its marketing strategies
 
UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024
 
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
 
How To Create Editable Tree View in Odoo 17
How To Create Editable Tree View in Odoo 17How To Create Editable Tree View in Odoo 17
How To Create Editable Tree View in Odoo 17
 
ESSENTIAL of (CS/IT/IS) class 07 (Networks)
ESSENTIAL of (CS/IT/IS) class 07 (Networks)ESSENTIAL of (CS/IT/IS) class 07 (Networks)
ESSENTIAL of (CS/IT/IS) class 07 (Networks)
 
OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
 
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes GuàrdiaPersonalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
 
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptxAnalyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
 
An overview of the various scriptures in Hinduism
An overview of the various scriptures in HinduismAn overview of the various scriptures in Hinduism
An overview of the various scriptures in Hinduism
 
Including Mental Health Support in Project Delivery, 14 May.pdf
Including Mental Health Support in Project Delivery, 14 May.pdfIncluding Mental Health Support in Project Delivery, 14 May.pdf
Including Mental Health Support in Project Delivery, 14 May.pdf
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
 
Rich Dad Poor Dad ( PDFDrive.com )--.pdf
Rich Dad Poor Dad ( PDFDrive.com )--.pdfRich Dad Poor Dad ( PDFDrive.com )--.pdf
Rich Dad Poor Dad ( PDFDrive.com )--.pdf
 
Improved Approval Flow in Odoo 17 Studio App
Improved Approval Flow in Odoo 17 Studio AppImproved Approval Flow in Odoo 17 Studio App
Improved Approval Flow in Odoo 17 Studio App
 
VAMOS CUIDAR DO NOSSO PLANETA! .
VAMOS CUIDAR DO NOSSO PLANETA!                    .VAMOS CUIDAR DO NOSSO PLANETA!                    .
VAMOS CUIDAR DO NOSSO PLANETA! .
 
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdfContoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdf
 
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
 
Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...
 

Today we will look at lists- You will be given a list called data- Det.pdf

  • 1. Today we will look at lists. You will be given a list called data. Details Input Program input is handled for you. After some initial processing, you will be left with a list called data that holds a sequence of integers. Processing/Output Determine the sum of the list items and output: Sum: {sum of list elements in the list **data**} Determine the maximum element in the list and output: Max: {maximum element in the list **data**} Determine the minimum element in the list and output: Min: {minimum element in the list **data**} Sample input/output: Data Output [1,2,3,4] Sum: 10 Max: 4 Min: 1 [10,20,30,40] Sum: 100 Max: 40 Min: 10 [2,3,5,7,11] Sum: 28 Max: 11 Min: 2