Functions in Karel |
In July 2021, YouTube set all unlisted videos uploaded before 2017 to private (unless the channel owner had opted out). In the weeks leading up to this change, Archive Team archived many pre-2017 unlisted YouTube videos. If this video was uploaded before 2017 and has gone private, there is a chance that a 360p archived version can be viewed on archive.org via the site's Wayback Machine as follows: 1. Enter the YouTube URL in the Wayback Machine form or click on the following link: https://web.archive.org/web/20210000000000*/https://www.youtube.com/watch?v=Zne5YTMsq5g 2. Right-click on a blue entry in July in the calendar. 3. Click 'Copy link address'. 4. Paste the copied link address into your web browser's address bar and press enter.
Description: We continue to explore functions in karel and write the turn Table of Contents: 00:05 - What is a function? 00:12 - Why use functions? 00:28 - Functions 00:41 - Naming is Crucial! 01:00 - Defining a Function vs. Calling a Function 01:25 - Rules for Defining a Function 01:44 - Defining turnAround() 02:01 - Calling turnAround() |