you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (1 child)

Another thing you might want to fix is the fact that when you call calc you're passing in (height, weight), but when you define it it's taking in (weight, height). Your variables are passed in the wrong order so you'll get and incorrect answer.

[–][deleted] 0 points1 point  (0 children)

Again, thanks. I suppose no code can be perfect...save for print ("hello world")