Cross-platform.
--------------------
Answer:
The easiest method to clear a DNS cache is to use either the command line, PowerShell or Windows Server's DNS Manager
Explanation:
You can use either the ipconfig /flushdns (command line), Clear-DnsClientCache (PowerShell) or DNS->(name)->Clear Cache (from the DNS Manager)
source:
https://activedirectorypro.com/clear-windows-dns-cache/
https://www.technipages.com/flush-and-reset-the-dns-resolver-cache-using-ipconfig
Answer:
couple.py
def couple(s1,s2):
newlist = []
for i in range(len(s1)):
newlist.append([s1[i],s2[i]])
return newlist
s1=[1,2,3]
s2=[4,5,6]
print(couple(s1,s2))
enum.py
def couple(s1,s2):
newlist = []
for i in range(len(s1)):
newlist.append([s1[i],s2[i]])
return newlist
def enumerate(s,start=0):
number_Array=[ i for i in range(start,start+len(s))]
return couple(number_Array,s)
s=[6,1,'a']
print(enumerate(s))
print(enumerate('five',5))
Explanation: