value or the characters and when you use integers within strings like thisyou need to specify explicitly that you want python to use the integer as string of characters you can do this by wrapping the variable in the str(functionwhich tells python to represent non-string values as stringsage message "happy str(age"rd birthday!print(messagepython now knows that you want to convert the numerical value to string and display the characters and as part of the birthday message now you get the message you were expectingwithout any errorshappy rd birthdayworking with numbers in python is straightforward most of the time if you're getting unexpected resultscheck whether python is interpreting your numbers the way you want it toeither as numerical value or as string value integers in python python returns slightly different result when you divide two integerspython instead of python returns division of integers in python results in an integer with the remainder truncated note that the result is not rounded integerthe remainder is simply omitted to avoid this behavior in python make sure that at least one of the numbers is float by doing sothe result will be float as well this division behavior is common source of confusion when people who are used to python start using python or vice versa if you use or create code that mixes integers and floatswatch out for irregular behavior