Advertisement
Guest User

Untitled

a guest
May 26th, 2016
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.44 KB | None | 0 0
  1. >>> test=['193.0.24.1', '212.98.126.73', '62.115.40.165', '62.115.142.210', '80.91.247.224', '80.91.248.242', '62.115.141.35']
  2. >>> print(test)
  3. ['193.0.24.1', '212.98.126.73', '62.115.40.165', '62.115.142.210', '80.91.247.224', '80.91.248.242', '62.115.141.35']
  4. >>> othertest = frozenset(test[:])
  5. >>> print(othertest)
  6. frozenset({'62.115.142.210', '80.91.248.242', '193.0.24.1', '62.115.40.165', '62.115.141.35', '212.98.126.73', '80.91.247.224'})
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement