SlideShare ist ein Scribd-Unternehmen logo
1 von 1
Downloaden Sie, um offline zu lesen
Intro to Programming
Exercise 3: School.py
Write a function called describe_school() that accepts the name of a school and its county.
The function should print a simple sentence, such as Snow Hill is in Worcester County.
Give the parameter for the county a default value.
Call your function for three different schools, at least one of which is not in the default county.

Weitere ähnliche Inhalte

Mehr von adinathknit

Is the following statement true or false and why this sta.pdf
Is the following statement true or false and why this sta.pdfIs the following statement true or false and why this sta.pdf
Is the following statement true or false and why this sta.pdfadinathknit
 
Is the coefficient 0 1 or not defined Please provide expl.pdf
Is the coefficient 0 1 or not defined Please provide expl.pdfIs the coefficient 0 1 or not defined Please provide expl.pdf
Is the coefficient 0 1 or not defined Please provide expl.pdfadinathknit
 
Is the drawn T the doubled version of T If not what is th.pdf
Is the drawn T the doubled version of T If not what is th.pdfIs the drawn T the doubled version of T If not what is th.pdf
Is the drawn T the doubled version of T If not what is th.pdfadinathknit
 
Is SPI filtering for packets that are part of ongoing commun.pdf
Is SPI filtering for packets that are part of ongoing commun.pdfIs SPI filtering for packets that are part of ongoing commun.pdf
Is SPI filtering for packets that are part of ongoing commun.pdfadinathknit
 
Is it possible to create a bottom navigation with two option.pdf
Is it possible to create a bottom navigation with two option.pdfIs it possible to create a bottom navigation with two option.pdf
Is it possible to create a bottom navigation with two option.pdfadinathknit
 
Is gain of function correct Colors indicate range of gene e.pdf
Is gain of function correct Colors indicate range of gene e.pdfIs gain of function correct Colors indicate range of gene e.pdf
Is gain of function correct Colors indicate range of gene e.pdfadinathknit
 
irketlerin zellikleri ile ilgili olarak aadakilerden hangis.pdf
irketlerin zellikleri ile ilgili olarak aadakilerden hangis.pdfirketlerin zellikleri ile ilgili olarak aadakilerden hangis.pdf
irketlerin zellikleri ile ilgili olarak aadakilerden hangis.pdfadinathknit
 
irketimizin aadaki nakit aklarna sahip bir projesi bulunmakt.pdf
irketimizin aadaki nakit aklarna sahip bir projesi bulunmakt.pdfirketimizin aadaki nakit aklarna sahip bir projesi bulunmakt.pdf
irketimizin aadaki nakit aklarna sahip bir projesi bulunmakt.pdfadinathknit
 
Ire ntanin Cedar of ontry into recinient cell Given the abo.pdf
Ire ntanin Cedar of ontry into recinient cell Given the abo.pdfIre ntanin Cedar of ontry into recinient cell Given the abo.pdf
Ire ntanin Cedar of ontry into recinient cell Given the abo.pdfadinathknit
 
IP Fragmentation Consider sending a 2000 byte datagram in.pdf
IP Fragmentation Consider sending a 2000 byte datagram in.pdfIP Fragmentation Consider sending a 2000 byte datagram in.pdf
IP Fragmentation Consider sending a 2000 byte datagram in.pdfadinathknit
 
Investors have a utility function over wealth of Retur.pdf
Investors have a utility function over wealth of   Retur.pdfInvestors have a utility function over wealth of   Retur.pdf
Investors have a utility function over wealth of Retur.pdfadinathknit
 
Investors have different risk preferences Most people are n.pdf
Investors have different risk preferences Most people are n.pdfInvestors have different risk preferences Most people are n.pdf
Investors have different risk preferences Most people are n.pdfadinathknit
 
Investigue la teora de la endosimbiosis y describa qu es c.pdf
Investigue la teora de la endosimbiosis y describa qu es c.pdfInvestigue la teora de la endosimbiosis y describa qu es c.pdf
Investigue la teora de la endosimbiosis y describa qu es c.pdfadinathknit
 
Investiga el caso de Stella Liebeck una abuela anciana que .pdf
Investiga el caso de Stella Liebeck una abuela anciana que .pdfInvestiga el caso de Stella Liebeck una abuela anciana que .pdf
Investiga el caso de Stella Liebeck una abuela anciana que .pdfadinathknit
 
Investment Advisors must understand the volatility risk asso.pdf
Investment Advisors must understand the volatility risk asso.pdfInvestment Advisors must understand the volatility risk asso.pdf
Investment Advisors must understand the volatility risk asso.pdfadinathknit
 
Investigacin de una asignacin de destino Elige un lugar .pdf
Investigacin de una asignacin de destino  Elige un lugar .pdfInvestigacin de una asignacin de destino  Elige un lugar .pdf
Investigacin de una asignacin de destino Elige un lugar .pdfadinathknit
 
Inversin interna privada bruta 46 Exportaciones de EE UU.pdf
Inversin interna privada bruta 46 Exportaciones de EE UU.pdfInversin interna privada bruta 46 Exportaciones de EE UU.pdf
Inversin interna privada bruta 46 Exportaciones de EE UU.pdfadinathknit
 
Inventory Costing Methods Periodic Inventory System Append.pdf
Inventory Costing Methods Periodic Inventory System Append.pdfInventory Costing Methods Periodic Inventory System Append.pdf
Inventory Costing Methods Periodic Inventory System Append.pdfadinathknit
 
Inventory Costing Methods Periodic LIFO Appendix 6B Filim.pdf
Inventory Costing Methods Periodic LIFO Appendix 6B Filim.pdfInventory Costing Methods Periodic LIFO Appendix 6B Filim.pdf
Inventory Costing Methods Periodic LIFO Appendix 6B Filim.pdfadinathknit
 
Introduction One can argue that the most challenging task in.pdf
Introduction One can argue that the most challenging task in.pdfIntroduction One can argue that the most challenging task in.pdf
Introduction One can argue that the most challenging task in.pdfadinathknit
 

Mehr von adinathknit (20)

Is the following statement true or false and why this sta.pdf
Is the following statement true or false and why this sta.pdfIs the following statement true or false and why this sta.pdf
Is the following statement true or false and why this sta.pdf
 
Is the coefficient 0 1 or not defined Please provide expl.pdf
Is the coefficient 0 1 or not defined Please provide expl.pdfIs the coefficient 0 1 or not defined Please provide expl.pdf
Is the coefficient 0 1 or not defined Please provide expl.pdf
 
Is the drawn T the doubled version of T If not what is th.pdf
Is the drawn T the doubled version of T If not what is th.pdfIs the drawn T the doubled version of T If not what is th.pdf
Is the drawn T the doubled version of T If not what is th.pdf
 
Is SPI filtering for packets that are part of ongoing commun.pdf
Is SPI filtering for packets that are part of ongoing commun.pdfIs SPI filtering for packets that are part of ongoing commun.pdf
Is SPI filtering for packets that are part of ongoing commun.pdf
 
Is it possible to create a bottom navigation with two option.pdf
Is it possible to create a bottom navigation with two option.pdfIs it possible to create a bottom navigation with two option.pdf
Is it possible to create a bottom navigation with two option.pdf
 
Is gain of function correct Colors indicate range of gene e.pdf
Is gain of function correct Colors indicate range of gene e.pdfIs gain of function correct Colors indicate range of gene e.pdf
Is gain of function correct Colors indicate range of gene e.pdf
 
irketlerin zellikleri ile ilgili olarak aadakilerden hangis.pdf
irketlerin zellikleri ile ilgili olarak aadakilerden hangis.pdfirketlerin zellikleri ile ilgili olarak aadakilerden hangis.pdf
irketlerin zellikleri ile ilgili olarak aadakilerden hangis.pdf
 
irketimizin aadaki nakit aklarna sahip bir projesi bulunmakt.pdf
irketimizin aadaki nakit aklarna sahip bir projesi bulunmakt.pdfirketimizin aadaki nakit aklarna sahip bir projesi bulunmakt.pdf
irketimizin aadaki nakit aklarna sahip bir projesi bulunmakt.pdf
 
Ire ntanin Cedar of ontry into recinient cell Given the abo.pdf
Ire ntanin Cedar of ontry into recinient cell Given the abo.pdfIre ntanin Cedar of ontry into recinient cell Given the abo.pdf
Ire ntanin Cedar of ontry into recinient cell Given the abo.pdf
 
IP Fragmentation Consider sending a 2000 byte datagram in.pdf
IP Fragmentation Consider sending a 2000 byte datagram in.pdfIP Fragmentation Consider sending a 2000 byte datagram in.pdf
IP Fragmentation Consider sending a 2000 byte datagram in.pdf
 
Investors have a utility function over wealth of Retur.pdf
Investors have a utility function over wealth of   Retur.pdfInvestors have a utility function over wealth of   Retur.pdf
Investors have a utility function over wealth of Retur.pdf
 
Investors have different risk preferences Most people are n.pdf
Investors have different risk preferences Most people are n.pdfInvestors have different risk preferences Most people are n.pdf
Investors have different risk preferences Most people are n.pdf
 
Investigue la teora de la endosimbiosis y describa qu es c.pdf
Investigue la teora de la endosimbiosis y describa qu es c.pdfInvestigue la teora de la endosimbiosis y describa qu es c.pdf
Investigue la teora de la endosimbiosis y describa qu es c.pdf
 
Investiga el caso de Stella Liebeck una abuela anciana que .pdf
Investiga el caso de Stella Liebeck una abuela anciana que .pdfInvestiga el caso de Stella Liebeck una abuela anciana que .pdf
Investiga el caso de Stella Liebeck una abuela anciana que .pdf
 
Investment Advisors must understand the volatility risk asso.pdf
Investment Advisors must understand the volatility risk asso.pdfInvestment Advisors must understand the volatility risk asso.pdf
Investment Advisors must understand the volatility risk asso.pdf
 
Investigacin de una asignacin de destino Elige un lugar .pdf
Investigacin de una asignacin de destino  Elige un lugar .pdfInvestigacin de una asignacin de destino  Elige un lugar .pdf
Investigacin de una asignacin de destino Elige un lugar .pdf
 
Inversin interna privada bruta 46 Exportaciones de EE UU.pdf
Inversin interna privada bruta 46 Exportaciones de EE UU.pdfInversin interna privada bruta 46 Exportaciones de EE UU.pdf
Inversin interna privada bruta 46 Exportaciones de EE UU.pdf
 
Inventory Costing Methods Periodic Inventory System Append.pdf
Inventory Costing Methods Periodic Inventory System Append.pdfInventory Costing Methods Periodic Inventory System Append.pdf
Inventory Costing Methods Periodic Inventory System Append.pdf
 
Inventory Costing Methods Periodic LIFO Appendix 6B Filim.pdf
Inventory Costing Methods Periodic LIFO Appendix 6B Filim.pdfInventory Costing Methods Periodic LIFO Appendix 6B Filim.pdf
Inventory Costing Methods Periodic LIFO Appendix 6B Filim.pdf
 
Introduction One can argue that the most challenging task in.pdf
Introduction One can argue that the most challenging task in.pdfIntroduction One can argue that the most challenging task in.pdf
Introduction One can argue that the most challenging task in.pdf
 

Kürzlich hochgeladen

SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
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
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
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
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
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.pptxheathfieldcps1
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
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
 
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 17Celine George
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
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
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
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
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 

Kürzlich hochgeladen (20)

SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
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...
 
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
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
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
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
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
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
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
 
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
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
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...
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
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
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 

Intro to Programming Exercise 3 Schoolpy Write a function .pdf

  • 1. Intro to Programming Exercise 3: School.py Write a function called describe_school() that accepts the name of a school and its county. The function should print a simple sentence, such as Snow Hill is in Worcester County. Give the parameter for the county a default value. Call your function for three different schools, at least one of which is not in the default county.