5 XP challenge

Wrap a List Position

very easy
Build it yourself · 3 min
1 Learn2 Predict3 Solve

Task
Your mission

Return values[position modulo its length]. values has 1 to 30 integers from -100 to 100; position is 0 to 100.

Examples

InputReturn
values = [4,8,9], position = 29
values = [4,8,9], position = 78

Your code

Write your answer inside Solution, then use return to send it back.

Try examples runs the public examples. Check my code checks your full answer and saves your completion.