Posts by LuWhite • 56 points
4 posts
-
0
votes1
answer67
viewsA: I want my variable to always be whole
You need to make two whiles one inside the other. The first while will be to validate the move/move, and the second to validate the input. That is, for every move, you will first check the entrance…
python-3.xanswered LuWhite 56 -
1
votes2
answers569
viewsA: Dictionary file
The module json can facilitate the construction of its function. The function loads() turns str into Dict with the need to follow only a few pre-established rules. In your case, the only things you…
-
1
votes2
answers671
viewsA: Errors in the program to sort a triangle
As questions 1 and 3 can be answered with the analysis of their variables and the returns of their functions. In an example where I define one side of the triangle as 50, another side as 50 and the…
-
2
votes4
answers1960
viewsA: Back position in data JSON format or list with Python
I believe that your difficulty is related to how to turn a string into a dictionary. How do you convert JSON into a string to use replace, you need to get python to understand you as Dict to make…