Every nth element in list

# Introduction In Python, we can access elements in a list using their index. Sometimes we may want to extract every `nth` element from a list. In this challenge, you are tasked with writing a function that takes a list and an integer `nth` as arguments and returns a new list containing every `nth` element of the original list.

|
60 : 00

Click the virtual machine below to start practicing