Posts by Skudy009 • 129 points
4 posts
-
1
votes1
answer30
viewsQ: How to clear elements of a <table> line when clicking a button?
I need to create a function that the user click on the "Clear" button, all fields input of each line of table be cleaned. I managed to perform these functions, however, I had to create a function…
-
0
votes1
answer147
viewsQ: How to register data in a dictionary within a . txt file?
I’m running a registration system, which records a person’s user and password in a dictionary and then passes that dictionary to a .txt. See the example: user = 'Lucas' password = '1234'` dic = {}…
-
2
votes2
answers773
viewsQ: How to subtract several elements from a list?
I am making a calculator and would like to subtract several elements from a list, this because the list can have as many elements as the user wants. See my code: lista = [10, 5] subt = lista[0] for…
-
7
votes3
answers162
viewsQ: Another alternative to not repeat this "function" three times?
Make a program that reads three vectors with 10 elements each. Generate a fourth vector of 30 elements, whose values should be composed of the interspersed elements of the three other vectors.…