Posts by Marlon Viana • 41 points
3 posts
-
0
votes4
answers60
viewsQ: Array assigned to another does not hold the same value
key=[[1,2,3,4],[5,6],[7,8,9,10]] x=key i=0 print(1,key) while i<4: x[0][i]=x[2][i] i+=1 print(2,x) print(3,key) #key era para se manter o mesmo valor, mas quando altera x, key está se alterando…
-
2
votes2
answers164
viewsQ: Is it worth using Assembly, C and C++ in the same program?
To optimize and make the program faster, it would be useful or necessary for me to do everything I can in Assembly, what I can not do Assembly, I do in C, and what I can not do in C++? References:…
-
1
votes2
answers90
viewsQ: How to change an element after an action on the page?
I would like when content was added to the input the previous text "Label" turned blue. Are inside a div, a p and an input, the goal is when writing in the input the previous p turned blue.…