11 lines
299 B
Python
11 lines
299 B
Python
|
|
print("Process list")
|
|
counter = 5 ;
|
|
index = 0
|
|
names = [ "Harry", "Larry", "Moe", "Katrina", "Colorado", "Shenanigans"]
|
|
|
|
while(counter > 0 ):
|
|
print("Counter = ",counter, " Index = ", index)
|
|
print("names[{}] = {}\n".format(index,names[index]))
|
|
index = index + 1
|
|
counter = counter - 1
|