Answers for "how to print every other item in a list python"

0

every second value python

import numpy as np
values=np.arange(0,10)
print(values[::2])
Posted by: Guest on March-21-2020

Code answers related to "how to print every other item in a list python"

Python Answers by Framework

Browse Popular Code Answers by Language