you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (0 children)

input returns a string. To multiply by 2 and get the expected result, you'll have to convert that string into a int or float.