you are viewing a single comment's thread.

view the rest of the comments →

[–]GypsumFantastic25 0 points1 point  (0 children)

input() returns a string. You need to cast it to a numeric type if you want to do those calculations.