Advertisement
FelipeNeto2

List exercise (PYTHON)

Dec 10th, 2019
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.17 KB | None | 0 0
  1. first_names = ['Ainsley', 'Ben', 'Chani', 'Depak']
  2. age = []
  3.  
  4. age.append(42)
  5.  
  6. all_ages = [32, 41, 29] + age
  7. name_and_age = zip(first_names, all_ages)
  8.  
  9. ids = range(4)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement