Core: learn it Step 2 of 16 on the Python Developer roadmap
Converting between types
input() always gives you a string, so you often need int() or float() before doing maths with it. Use type() whenever you are unsure what kind of value you are holding.