How to do the ques 1 of module 3 of this course

Free Online Courses | Learn Job Oriented Training Programs - LearnVern

This is the course link.
I want to know how ques 1 of module 3 of this course can be done with the knowledge provided up to that module.

ques: To print the alternate elements of a list entered by the user.