Created
July 25, 2015 03:00
-
-
Save tecoholic/b81780f8be65035c70ea to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| delivery_id_confirmations = [1,2,3,4,5,6,7,8,9,10, | |
| 1,2,3,5,6,7,8,9,10] # 4 missing | |
| def find_unique_id(id_array): | |
| for num in id_array: | |
| if id_array.count(num) == 1: | |
| print "Missing Delivery Man ID: {0}".format(num) | |
| if __name__ == '__main__': | |
| find_unique_id(delivery_id_confirmations) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment