« first day (3602 days earlier)      last day (515 days later) » 

 
7 hours later…
 
2 hours later…
10:08
and for the function I used:

function myFunctionpass() {

var x = document.getElementById(id);

if (x.type === "password") {

x.type = "text";

} else {

x.type = "password";

}

}
1 message moved from JavaScript
function myFunctionpass() {
var x = document.getElementById(id);
if (x.type === "password") {
x.type = "text";
} else {
x.type = "password";
}
}
1 message moved from JavaScript
 
1 hour later…
12:25
-4
Q: Reading data from a file (python 3)

J. A. G.I'm working on an assignment that reads data from a file. I'm trying to sum up all the even numbers in the file but I can't get it to read more than the first line. Here is the code I have so far: infile = open('data.txt', 'r') even_sum = 0 line = infile.readline() while int(line) % 2 == 0: ...

 
9 hours later…

« first day (3602 days earlier)      last day (515 days later) »