SHARE
TWEET

Untitled

a guest Oct 10th, 2019 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/usr/bin/python
  2.  
  3. #assign employee name to list
  4. empName = ['Tom', 'Maddy', 'Sam', 'John']
  5.  
  6. #zip the values
  7. emp = zip(empName)
  8.  
  9. #Prints the values in zip
  10. print('\nValues in zip')
  11. # prints tuple of shortest length
  12. for values in emp:
  13.     print(values)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top