

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 7
click for more info
Not enough gems
Cost: 6 gems
1: SnekObjects
incomplete
2: Integer
incomplete
3: Float
incomplete
4: String
incomplete
5: Vector3
incomplete
6: Array
incomplete
7: Set
incomplete
8: Get
incomplete
9: Length
incomplete
10: Add
incomplete
This lesson's interactive features are locked, please to keep using them
We can make empty arrays! ... which is kinda pointless, but at least the bones are there. Let's make our arrays useful by allowing us to store values in them.
snek_array_set sets a value at a specific index in the array. The equivalent in Python would be:
array[3] = new_value
Complete the snek_array_set function: