# Built-in Functions > Tenth graders learn Python’s built-in functions — ready-made tools like len(), print(), input(), range(), and type() that you can use without importing… **Computer Science** | **Grade 10** *A free lesson plan from K12 Academics. Source page: https://lessonplans.k12academics.com/k12-lesson-g10-cs-builtins.html* Tenth graders learn Python’s built-in functions — ready-made tools like len(), print(), input(), range(), and type() that you can use without importing anything. Knowing them speeds up coding. They match functions to their jobs, then use them in a program. **Copy link** works with Canvas, Schoology, Moodle and any other LMS — paste it in as a resource or assignment. ## Everything you need before the bell rings ### Learning Objectives Students will be able to… - Name key **built-ins**. - Match function to **job**. - Use them in **code**. - Code faster. What ready-made tools does Python give you for free? ## Match the Built-in Function Project this and match each function to what it does — tap the function, then tap its job. ## 50 minutes, five moves Tap any phase to open the teacher moves and student actions. ### Hook — Free Tools Which tools can you use in Python without importing anything? #### 👩‍🏫 Teacher Moves - Pose the question. - Share ideas. - Set the goal. #### 🎒 Student Actions - Think. - Share. - Get ready. ### Use — Built-ins Students learn. #### 👩‍🏫 Teacher Moves - Send students to Match the Built-in Function. - Match each one. - Note no import needed. #### 🎒 Student Actions - Match. - Say. - Note it. ### Modify — Use Them Students practice. #### 👩‍🏫 Teacher Moves - Use len() on a list. - Use input() for a value. - Use range() in a loop. #### 🎒 Student Actions - Len. - Input. - Range. ### Create — Create Students apply. #### 👩‍🏫 Teacher Moves - Write a short program. - Use 3 built-ins. - Test the output. #### 🎒 Student Actions - Write. - Use. - Test. ### Reflect — Reflect Students close. #### 👩‍🏫 Teacher Moves - What does len() do? - What does type() do? - Complete the exit ticket. #### 🎒 Student Actions - Say it. - Say it. - Complete the exit ticket. ## Built to the standards you report on Aligned to the CSTA K-12 Computer Science Standards and the ISTE Standards for Students. Use built-in functions in programs. Combine built-ins with control structures. Test programs using built-ins. Use ready-made computational tools. ## One lesson, every learner ### Multilingual Learners - Function/job cards. - Frame: "len() gives the ___." - Demo each live. ### Support & Access - Match print & input. - Use 3 functions. - Use examples. ### Stretch & Extend - Explore more built-ins. - Nest built-ins (e.g. len(input())). - Read Python docs. ### What to gather - 📽️Screen / board - 🔧Function cards - 💻Match the Built-in Function - 💻Python - 📓Notebooks - 🎫Exit-ticket slips ### Key terms - **built-in function**: a function Python provides by default - **len()**: length of a sequence - **print()**: show output - **input()**: read user text - **range()**: a sequence of numbers - **type()**: a value’s data type - **argument**: a value passed to a function - **return value**: what a function gives back ## Exit Ticket Preview the three formative checks. Tap “Sample answer” to see what mastery looks like — hide them before you print for students. ### Reflect: built-in functions. Have students write a short program using three built-ins. A printable function sheet is in the CS library. ## Check your understanding **1. What does “built-in function” mean?** - read user text - a value’s data type - a function Python provides by default *(correct)* - what a function gives back “built-in function” means: a function Python provides by default **2. Which word means: “length of a sequence”?** - len() *(correct)* - print() - range() - return value “len()” means: length of a sequence **3. What does “print()” mean?** - show output *(correct)* - what a function gives back - a value passed to a function - a sequence of numbers “print()” means: show output **4. Which word means: “read user text”?** - input() *(correct)* - range() - type() - len() “input()” means: read user text **5. What does “range()” mean?** - a value passed to a function - a sequence of numbers *(correct)* - read user text - what a function gives back “range()” means: a sequence of numbers **6. Which word means: “a value’s data type”?** - return value - len() - argument - type() *(correct)* “type()” means: a value’s data type ## Printable worksheet --- Full lesson page: https://lessonplans.k12academics.com/k12-lesson-g10-cs-builtins.html All lessons: https://lessonplans.k12academics.com/