concatenate string with variable in python code example Example: python concatenate strings print “{0} {1} is {2} years old.” format(fname, lname, age)