From the course: PyTorch Essential Training: Deep Learning

Tour of CoderPad

- [Instructor] This course includes automated code challenges that appear when you click on the Challenge links in the course's Table of Contents. Each challenge includes instructions and a couple of code editors you can use to create and test your own solutions to the challenge. These challenges are hosted by CoderPad, and they appear in the same area of the course page where you watch the course's videos. We recommend using a desktop browser for the best experience with the code challenges, but you can use the LinkedIn Learning mobile app if you prefer. The Code Challenges has four areas: instructions in the top left, a code editor for your answer in the top right, another code editor where you can see how your code is used in the bottom right, and a console for output in the bottom left. You can use these rectangles to allocate space as you like. To get even more horizontal space for the code editors, you can collapse the course's Table of Contents on the left. Each challenge has instructions that include a description of the challenge and the challenge's parameters and desired result. Parameters are values that are passed into your code, and they have to be of a particular data type. The return value also has to be of a particular type, and you'll also see that noted in instructions. The Constraints section has useful information about the parameters that will be passed in. The examples show different parameter values and what results would be returned for each of those test cases. Create your answer in the top right code editor. There are comments in the starting code showing where to put your solution. When you click Test My Code, you'll see a message indicating whether your code returned a correct result. Create your answer in the top right code editor. There are comments in the starting code showing where to put your solution. When you click Test My Code, you'll see a message indicating whether your code returned a correct result. If your code isn't successful, you can ask for help. The show_expected_result and show_hints variables determine whether you see the expected outputs and any hints. Change them to a value of True to control the output. The code editor in the lower right shows you how your solution is used. You can change that code to experiment with different test cases. Regardless of whether your answer is successful, you'll see messages in the console output in the lower left. If any messages are too long to fit in that area, you can scroll sideways to see all of the text. When you finish each code challenge, return to the course's Table of Contents and click the next window to see my solution.

Contents