Posts by Tom Salles • 43 points
6 posts
-
0
votes5
answers115
viewsA: Browse lists of different sizes
Thus, for each element of the list X, it will traverse the entire list Y before moving to the next element of the list X. m = [] x = [1,2,3] y = [4,5,6,7,8,9] for e in x: for i in y: f = e g = i f =…
pythonanswered Tom Salles 43 -
0
votes2
answers83
viewsA: Form closing without close()
may be happening some error or untreated Exception, you may try putting a Try/catch to test private void btnVisualizar_documento_Click(object sender, EventArgs e) { try { if…
-
2
votes3
answers114
viewsA: Sequence code of numbers returns the incorrect sum of numbers C#
One way to accomplish this task is to perform the first sum before performing the repetitions: using System; namespace TesteRepeticao1 { class Program4 { static int Main(string[] args) { int…
c#answered Tom Salles 43 -
0
votes2
answers19648
viewsA: Line break encoding ( n) in Javascript Alert()
I just picked up something similar, I solved it by putting \\n the first \ indicates that there will be a special character then in case only \n he tries to read n as a special character.…
-
1
votes2
answers131
viewsA: Format date written "ex. January 12, 2017" to default (Y-m-d)
date('Y-m-d', strtodate($string));
-
1
votes2
answers1666
viewsQ: How to create an array with months
Good afternoon, I am providing maintenance on a code that features a graph, the X axis presents the last 11 months and the current month, who wrote it entered the months manually and wanted to…