Posts by Mateus Ribeiro • 46 points
3 posts
-
0
votes2
answers415
viewsA: Rename a graph label in Python Matplotlib
The parameter labels of the method pie() receives a set with the labels of the chart elements, which can be a list, tuple, object ndarray numpy etc. The following example shows more intuitively how…
-
2
votes3
answers529
viewsA: Product between scalar and array
You can use a loop to perform the operation, for example, follows an algorithm with for loop and with the application of enumerate method: a = [ 0.4850045, 0.45512111] b = [-0.03116616] for i, j in…
-
1
votes1
answer2252
viewsA: Python Login and Registration System
I don’t know if I’ll answer what you want, but I’ll try to answer it as best I can. Here follows its algorithm with some modifications arq = open('registrados.txt', 'a') print('Olá, aqui você pode…