Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+3
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
7 Endorsements
Ranked #260
Ranked #13.1K
Ranked #2K
~4K People Reached
About Me

Comp Sci Ph.D. in 1997CS Faculty since 1983, except for 3 years as an Sr. Software Engineer (mostly embedded systems programming/SNMP agents) from 1999-2002.

Interests
web technologies
PC Specs
Various ones that I use here and there
Favorite Tags
Member Avatar for Sappie

Husoski gave the most comprehensive answer. Let me just add why the first if clause always triggered instead of the others. As pointed out, the “=“ is the assignment operator. As it happens, the assignment statement not only causes the assignment to occur, but it also has a value like …

Member Avatar for iJimJones
0
562
Member Avatar for happygeek

David_49, are the 1 billion web sites counted by NetCraft equivalent to the count of Internet Domain Names noted in this article? For instance, if www.hostname.edu/~jdoe and www.hostname.edu/~jsmith are different personal websites, I assume they would only be counted once for domain www.hostname.edu but perhaps twice as different web site. …

Member Avatar for Portia_1
3
1K
Member Avatar for Waseemaburakia

The question is unclear. It implies that the function is printing a value but the above function has no print statement. One wonders what is it supposed to print if you pass 3 to the function. Is it supposed to be 3, 6, 9, or is it supposed to be …

Member Avatar for fonzali
0
215
Member Avatar for KAMAE94

You don't have an array for the student IDs in your code. I assume that fillup is expected to fill that array at the same time it fills the GPAs. One would expect that the student ID values would be interleaved with GPA values in the input data (ID, GPA, …

Member Avatar for iJimJones
0
156
Member Avatar for bryann

You are using Python 3x. Back in the Python 2x day the "/" (single slash) operator worked similarly to C/C++ and Java. That is, if the numerator and denominator are integers the result is integer (truncating the fractional part). Thus 3/2 is 1, not 1.5. With Python 3x that changed. …

Member Avatar for bryann
0
319
Member Avatar for Violet_82

The reason #3 drops down and creates an extra gap is because the lack of room for it to follow #2 causes it to naturally wrap and move leftward in such a way that it clears #2. If you had more than two boxes on the first row with different …

Member Avatar for BMXDad
0
154
Member Avatar for Violet_82

If neither of the above suggestions solve the problem, I wonder if relative URL references are different in IE, acting relative to the web page location rather than the CSS file location. To test this out, try putting an 'image' folder with a copy of the jpg image in your …

Member Avatar for Violet_82
0
582
Member Avatar for sam.maloof.3

I am not sure exactly what you mean. I looked at your web page with IE10 and the web page looks similer to how it looks in other browsers (e.g., Chrome). Clearly, some or most of the CSS in your maloofwoodworkingstyle.css file is working. Is there some particular visual that …

Member Avatar for iJimJones
0
152
Member Avatar for vanalex

As already pointed out, the . and -> have the same precidence. Also, they are L-to-R associative, so you did not need the parenthesis (other than to make it simpler to understand). It looks to me like your function header is using old-fashioned C method for passing something "by reference", …

Member Avatar for iJimJones
0
128