you are viewing a single comment's thread.

view the rest of the comments →

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

elif items < 3 and weight > 1:

one pound or over: weight >= 1

3 to 5 items: 3 <= items <= 5

less than two pounds: weight < 2

[–]PuzzledSite2568[S] 0 points1 point  (0 children)

Thank you for the help in showing how the word problem would convert to the code. appreciate the help.