Please enable JavaScript.
Coggle requires JavaScript to display documents.
PYTHON - Coggle Diagram
PYTHON
set
-
Unique element
ip = ['10.0.0.1', '10.0.0.2', '10.0.0.1', '10.0.0.3', '10.0.0.1']
unique_ip = list(set(ip))
-
-
toggle
a dictionary is an unordered collection of key: value pairs,
-
Operation and methods
-
Dictionary Views:
-
-
dict.items() -> returns (key, value) pairs
-