Posts by Alexander • 11 points
4 posts
-
0
votes1
answer134
viewsA: Find number with smaller number of decimals between two other numbers
The code below is commented for understanding: # Define as variáveis x = 10.1234 y = 10.1245 # Verifica e armazena quem tem menos digitos lenmenor = len(str(x)) - len(str(int(x))) - 1 leny =…
-
0
votes3
answers2084
views -
1
votes2
answers362
viewsA: Is adding more than one element to Append possible?
His question indicates that he did not study the documentation as to the append method or the use of the language as a whole, specifically about loops. Anyway, you can use a for loop for that…
-
0
votes1
answer1759
viewsQ: How to use sqlite3 with Docker Compose
Since sqlite3 banks are only files; And containers, by their own logic of scalability are created and excluded according to need; What is the best way to work with both partners? You see, I’m trying…