u/rocketmaster - 5 Archived Voat Posts in v/programming
u/rocketmaster
  • home
  • search

u/rocketmaster

3 posts · 2 comments · 5 total

Active in: v/programming (5)

  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››
Comment on: Code Academy's bullshit!

Here's the "hint" i was given:

Let's see: meal * tax will give you the number of tax dollars to put on your bill, and meal + that number will give you the cost of the meal + tax!

The interpreter will evaluate the right-hand side of the equation first. It will ask itself, "What's meal * tax?" Once it does this and gets the result (about 3.00), it will ask itself, "What's meal + this number?" (44.50 + about 3.00 = about 47.50.) Finally, it'll move to the left-hand side of the equation and say, "Oh man, I should totally reassign meal (which was 44.50) to this new value of about 47.50." And that's how meal gets reassigned!

0 04 Feb 2016 22:33 u/rocketmaster in v/programming
Comment on: Code Academy's bullshit!

Did i mention i was supposed to reassign the value of meal, too?

0 04 Feb 2016 19:12 u/rocketmaster in v/programming
I want to learn Python.
12 20 comments 04 Feb 2016 13:31 u/rocketmaster (self.programming) in v/programming
CodeCrapadamy's "hint"
2 0 comments 04 Feb 2016 11:49 u/rocketmaster (self.programming) in v/programming
Code Academy's bullshit!
1 8 comments 04 Feb 2016 07:24 u/rocketmaster (self.programming) in v/programming
  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››

archive has 9,592 posts and 65,719 comments. source code.