Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Sampling data in different ways

# Python program to illustrate 
# enumerate function in loops 
l1 = ["Johnwick","AD","Dead"] 

# printing the tuples in object directly 
for ele in enumerate(l1): 
	print (ele) 

print()

# changing index and printing separately 
for count,ele in enumerate(l1): 
	print (count,ele)
Source by kadamjay.rf.gd #
 
PREVIOUS NEXT
Tagged: #Sampling #data #ways
ADD COMMENT
Topic
Name
6+5 =