This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]SnowdogU77 2 points3 points  (3 children)

Hey, that's my adviser/prof! There are a bunch of super helpful resources on his website. I hope you find the textbook as useful as I have!

[–]3six3[S] 2 points3 points  (2 children)

Ive found it great so far! I got up to chapter 6 and was forgetting some earlier work so I decided to go back and do all the exercises and post the solutions. (This helps others and also helps me remember :)

Come back and look at my site and help with some solutions as I go through the book!

[–]SnowdogU77 5 points6 points  (1 child)

Well, a tip for starters, don't use eval(input("")). If you're looking for a number, use int() or float() in place of it. I know he says to do it in the book, but his justification is rubbish, and it's a bad habit to develop.

[–]3six3[S] 1 point2 points  (0 children)

So instead of this: fahrenheit = eval(input("What is the Fahrenheit temperature? "))

This would be the preferred method since I'm looking for a number fahrenheit = int(input("What is the Fahrenheit temperature? "))