Posts by UserDel • 71 points
6 posts
-
0
votes2
answers78
viewsA: Accentuation in C++ Visualstudiocode
For those who go through the same problem in the future, I solved as follows in VSCODE: I clicked in the lower right corner where you have UTF-8 and clicked on Reopen with Encondig and selected…
-
1
votes2
answers78
viewsQ: Accentuation in C++ Visualstudiocode
I’m trying to use the accent in c++ but in the output the text continues without formatting I’m using the visual studio code. #include <iostream> #include <locale.h> int main () {…
-
1
votes2
answers279
viewsQ: Changing a key value in a Python dictionary
I need to get the position of one of the key values 'Codigo', for example 321, and in the same position change the key value 'Status aluguel' for 'S'. How can I do that? Imoveis_Cadastrados = {…
-
-1
votes2
answers434
viewsQ: Second highest value of a python list
I want to find the second highest value of a list without deleting any elements in it; I tried using the min and max command, but this only works with higher and lower. In case I want you to return…
-
0
votes1
answer64
viewsQ: Remove specific characters from a list
My question is this, is there any way to remove the comma from a list? I’m using the . strip to remove the brackets, but when setting the comma as parameter does not work, I tried . replace but…
-
1
votes1
answer76
viewsQ: How to load whole values from a txt file? - Python
I want to load a dictionary where the text file .txt contains information of the type String, but I want the values to be loaded Inteiro. {'11322567498': '[0],[0]'} Note that values are always being…