Now that you understand the basics of lists and custom blocks, feel free to try our optional test problem.Create a custom block labeled “CB Line of Spheres” that creates a line of spheres along the z axis. The user should be able to define the starting location, the number of spheres, the radius, and the increment.
Once you create this CB, test your list manipulation skills by importing it into another notebook with the inputs shown above. Then…
Select the 3rd to the 8th items in the list
Remove the 4th and 5th items in the list
Select the last element in the list.
Estimated Time to Complete: 25 minutes
⌘I
Assistant
Responses are generated using AI and may contain mistakes.