SlideShare a Scribd company logo
1 of 1
Download to read offline
Question 18 (4 points) What is the output of the following code? sampleList = ["Jon", "Kelly",
"Jessa"] samplelist. append(2, "Scott") print(sampleList) The program executed with errors ['Jon:
'Kelly: 'Scott', 'Jessa'] ['Jon', 'Kelly', 'Jessa', 'Scott'] ['Jon', 'Scott', 'Kelly', 'Jessa'] Question 19 (4
points) What is the output of the following code? foriinrange(10,15,1):print(i,end=?,) 10,11,12,13,
14, 10,11,12,13,14,15,

More Related Content

More from ynitin691

Question 16 The three basic shapes of prokaryotes are and Q.pdf
Question 16 The three basic shapes of prokaryotes are and Q.pdfQuestion 16 The three basic shapes of prokaryotes are and Q.pdf
Question 16 The three basic shapes of prokaryotes are and Q.pdf
ynitin691
 
question 14 Earths water and atmosphere were most likely b.pdf
question 14  Earths water and atmosphere were most likely b.pdfquestion 14  Earths water and atmosphere were most likely b.pdf
question 14 Earths water and atmosphere were most likely b.pdf
ynitin691
 

More from ynitin691 (20)

Question 2 5 points Jenny is now ready to perform the chem.pdf
Question 2 5 points Jenny is now ready to perform the chem.pdfQuestion 2 5 points Jenny is now ready to perform the chem.pdf
Question 2 5 points Jenny is now ready to perform the chem.pdf
 
QUESTION 2 25 Marks Undertake a literature review of quie.pdf
QUESTION 2 25 Marks Undertake a literature review of quie.pdfQUESTION 2 25 Marks Undertake a literature review of quie.pdf
QUESTION 2 25 Marks Undertake a literature review of quie.pdf
 
Question 2 21 During the process of gene expression two ma.pdf
Question 2 21 During the process of gene expression two ma.pdfQuestion 2 21 During the process of gene expression two ma.pdf
Question 2 21 During the process of gene expression two ma.pdf
 
Question 2 15 points Suppose the government decides to red.pdf
Question 2 15 points Suppose the government decides to red.pdfQuestion 2 15 points Suppose the government decides to red.pdf
Question 2 15 points Suppose the government decides to red.pdf
 
QUESTION 2 13 MARKS 21 Differentiate between fibrous prot.pdf
QUESTION 2 13 MARKS 21 Differentiate between fibrous prot.pdfQUESTION 2 13 MARKS 21 Differentiate between fibrous prot.pdf
QUESTION 2 13 MARKS 21 Differentiate between fibrous prot.pdf
 
QUESTION 2 28 marks You are an employee at a medium sized .pdf
QUESTION 2 28 marks You are an employee at a medium sized .pdfQUESTION 2 28 marks You are an employee at a medium sized .pdf
QUESTION 2 28 marks You are an employee at a medium sized .pdf
 
Question 2 10 point Consider a broadcast channel with N no.pdf
Question 2 10 point Consider a broadcast channel with N no.pdfQuestion 2 10 point Consider a broadcast channel with N no.pdf
Question 2 10 point Consider a broadcast channel with N no.pdf
 
Question 2 15 MARKS The following is Ubuntu statement of f.pdf
Question 2 15 MARKS The following is Ubuntu statement of f.pdfQuestion 2 15 MARKS The following is Ubuntu statement of f.pdf
Question 2 15 MARKS The following is Ubuntu statement of f.pdf
 
Question 2 14 points The simplest way to virtualize memor.pdf
Question 2 14 points The simplest way to virtualize memor.pdfQuestion 2 14 points The simplest way to virtualize memor.pdf
Question 2 14 points The simplest way to virtualize memor.pdf
 
Question 2 15 Marks The plans which are derived for the o.pdf
Question 2 15 Marks The plans which are derived for the o.pdfQuestion 2 15 Marks The plans which are derived for the o.pdf
Question 2 15 Marks The plans which are derived for the o.pdf
 
Question 2 The Emergence of Global Institutions Ch 1 Why.pdf
Question 2  The Emergence of Global Institutions Ch 1 Why.pdfQuestion 2  The Emergence of Global Institutions Ch 1 Why.pdf
Question 2 The Emergence of Global Institutions Ch 1 Why.pdf
 
Question 19 A malware that encrypts your computers data and.pdf
Question 19 A malware that encrypts your computers data and.pdfQuestion 19 A malware that encrypts your computers data and.pdf
Question 19 A malware that encrypts your computers data and.pdf
 
Question 19 10pts Find the present worth of the cash rece.pdf
Question 19 10pts Find the present worth of the cash rece.pdfQuestion 19 10pts Find the present worth of the cash rece.pdf
Question 19 10pts Find the present worth of the cash rece.pdf
 
Question 19 2 points The process scope diagram looks pri.pdf
Question 19 2 points   The process scope diagram looks pri.pdfQuestion 19 2 points   The process scope diagram looks pri.pdf
Question 19 2 points The process scope diagram looks pri.pdf
 
Question 19 5 Minutes and 5 Points Consider the followin.pdf
Question 19 5 Minutes and 5 Points Consider the followin.pdfQuestion 19 5 Minutes and 5 Points Consider the followin.pdf
Question 19 5 Minutes and 5 Points Consider the followin.pdf
 
QUESTION 18 Jer works in a Home and Community Care environme.pdf
QUESTION 18 Jer works in a Home and Community Care environme.pdfQUESTION 18 Jer works in a Home and Community Care environme.pdf
QUESTION 18 Jer works in a Home and Community Care environme.pdf
 
Question 16 1 point Table Fazio and Gabriellas opportun.pdf
Question 16 1 point Table Fazio and Gabriellas opportun.pdfQuestion 16 1 point Table Fazio and Gabriellas opportun.pdf
Question 16 1 point Table Fazio and Gabriellas opportun.pdf
 
Question 16 The three basic shapes of prokaryotes are and Q.pdf
Question 16 The three basic shapes of prokaryotes are and Q.pdfQuestion 16 The three basic shapes of prokaryotes are and Q.pdf
Question 16 The three basic shapes of prokaryotes are and Q.pdf
 
Question 16 2 points BPMN provides businesses with the c.pdf
Question 16 2 points   BPMN provides businesses with the c.pdfQuestion 16 2 points   BPMN provides businesses with the c.pdf
Question 16 2 points BPMN provides businesses with the c.pdf
 
question 14 Earths water and atmosphere were most likely b.pdf
question 14  Earths water and atmosphere were most likely b.pdfquestion 14  Earths water and atmosphere were most likely b.pdf
question 14 Earths water and atmosphere were most likely b.pdf
 

Recently uploaded

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
KarakKing
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Recently uploaded (20)

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 Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
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
 
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_...
 
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
 
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
 
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
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
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)
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
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...
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
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
 
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
 
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
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 

Question 18 4 points What is the output of the following c.pdf

  • 1. Question 18 (4 points) What is the output of the following code? sampleList = ["Jon", "Kelly", "Jessa"] samplelist. append(2, "Scott") print(sampleList) The program executed with errors ['Jon: 'Kelly: 'Scott', 'Jessa'] ['Jon', 'Kelly', 'Jessa', 'Scott'] ['Jon', 'Scott', 'Kelly', 'Jessa'] Question 19 (4 points) What is the output of the following code? foriinrange(10,15,1):print(i,end=?,) 10,11,12,13, 14, 10,11,12,13,14,15,