Tag: Learn Python Exercise 3

LPTHW - Exercise 3: Numbers and Math

LPTHW - Exercise 3 This was the first tricky one, and probably deliberately so. If you've come here from Google, it might be because you didn't find this StackOverflow post yet, or maybe this post popped out on top for you particular search term. Either, way... ...you want to know why the answer to the Rooster question is 97, right? Well, the simple answer is there's an order to the operations you must perform and you can see this in the completed example below.

Read more...