user90898
0
Q:

hash in python

from hashlib import blake2b
import time
k = str(time.time()).encode('utf-8')
h = blake2b(key=k, digest_size=16)
h.hexdigest()
0
# In python they are called dictionarys 
dict = {'Name': 'Zara', 'Age': 7, 'Class': 'First'}

name = dict["Name"] # Zara
0

    x = ('key1', 'key2', 'key3')

thisdict = dict.fromkeys(x)


    print(thisdict)
#values are all None
   
0
hash(object)
0

New to Communities?

Join the community