9 lines
195 B
Python
9 lines
195 B
Python
|
def main():
|
||
|
list1 = ['orange', 'grape', 'banana', 'waxberry', 'pitaya']
|
||
|
for index, val in enumerate(list1):
|
||
|
print('%d: %s' % (index, val))
|
||
|
|
||
|
|
||
|
if __name__ == '__main__':
|
||
|
main()
|