Arcot

ch7 ex 4

Jan 14th, 2022 (edited)
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.15 KB | None | 0 0
  1. def numberListInput(list_of_names):
  2.     for x in range(len(list_of_names)):
  3.         print(x+1, list_of_names[x]) # x+1 because numbering starts with 0
Add Comment
Please, Sign In to add comment