Api | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Api

I created the code. The result is an error. Need buffer Api. How i can repair it?

12th Oct 2019, 8:58 PM
Ivan Ivanov
Ivan Ivanov - avatar
5 Answers
+ 2
Sorry. Maybe someone who is an expert in Python can help. I don't understand what that code is supposed to do.
12th Oct 2019, 9:02 PM
Jayden LeCorps
Jayden LeCorps - avatar
+ 2
Can you post the code here so we can see it?
12th Oct 2019, 8:58 PM
Jayden LeCorps
Jayden LeCorps - avatar
+ 1
import hashlib a=[7,2,8,1,9] i=0 for i in range(5): print(a,"set(a)",set(a)) print("sha-",hash(a[i])) print(hashlib.sha256(a[i])) i+=1
12th Oct 2019, 9:00 PM
Ivan Ivanov
Ivan Ivanov - avatar
+ 1
I’m exploring the logic of a function set() , and for this I turn to ram or hash
12th Oct 2019, 9:05 PM
Ivan Ivanov
Ivan Ivanov - avatar
+ 1
I need to ask for the memory cells of the primary array a
12th Oct 2019, 9:12 PM
Ivan Ivanov
Ivan Ivanov - avatar