Step in x[] | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
5th Dec 2020, 10:37 AM
Ascakeh
Ascakeh - avatar
3 Answers
+ 3
Do you mean how to print every other item? for i in x[::2]
5th Dec 2020, 10:45 AM
Jeremy
Jeremy - avatar
+ 6
Ascakeh Am unable to understand what you are referring for..? You might be having a issue in for loop concept? https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2435/?ref=app
5th Dec 2020, 10:47 AM
Piyush
Piyush - avatar
- 1
This question may be a little confusing. Is this a code to a problem/code coach? If yes, please elaborate or send the problem so we can help you
5th Dec 2020, 10:49 AM
noteve
noteve - avatar