We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e1f0ca commit eeec0f5Copy full SHA for eeec0f5
General/basic_operation.py
@@ -1,4 +1,5 @@
1
import socket
2
+import os
3
4
#Remove Duplicates from list - Input (ipaddress)1 | Output (status)1
5
def validate_ip_logic(ip_address):
@@ -25,6 +26,11 @@ def validate_ip(ip_address):
25
26
status=False
27
return status
28
29
+#Set all the dictonary value to some string - Input (input_dict,string) | Output (output_dict)1
30
+def set_all_dict_value(input_dict,value):
31
+ result_dict = dict.fromkeys( input_dict, value )
32
+ return result_dict
33
+
34
#Remove Duplicates from list - Input (list)1 | Output (list)1
35
def remove_duplicate_list(input_list):
36
output_list = list(set(input_list))
0 commit comments