Posts by Cochise • 200 points
6 posts
-
1
votes2
answers53
viewsA: How do I insert information into the page that is in Excell
If you use a CSV in Excell, you can do this with direct file manipulation or with the module csv, which is part of the standard library. If you use the xlsx format, you will need a external module…
-
2
votes2
answers5458
viewsA: How to create a drop-down list in html?
You’re looking for the tag select. one of the names of this element is dropdown. <select name="cars"> <option value="volvo">Volvo</option> <option…
-
1
votes1
answer1085
viewsA: Use of python Return
This is due to the rules of scope. x is created inside the repeat function, and ceases to exist as soon as the function ends. To get the final value of x you need to write something like def repita:…
-
0
votes1
answer208
viewsA: Characters repeating in String discovery [Python]
Note the loops. The first iterates over each character of the password, the second over each alpha character. In that you have an if with an Else and in that Else you iterate on one. This means that…
-
0
votes1
answer72
viewsA: Program in C closes after execution of procedure
As there are only excerpts of the code, there is no way to track everything, but if you do not receive an error message, it is because there is a logic problem. Its input says that to exit the user…
-
1
votes1
answer828
viewsA: Script for discount calculation
I think the logic is in the wrong place. Applying the discount in the display of the boleto, via javascript is not ideal, because you do not have the final value on the server. The ideal is that in…