Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >>> 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']
- >>> print(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']
- >>> othertest = frozenset(test[:])
- >>> print(othertest)
- 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