Integers and Strings in Print Statements

This post is about how Integers and strings show up in print statements. If an integers is added into a print statement, there will also be white-space added on each side of the integer.
ex:

print("My favorite number is", x, ".")  

becomes My favorite number is 7 .

If you convert the integer to a string then the white-space is removed and the 2 strings are concatenated. Keep in mind that you will need to add a space between strings if you want one.
ex:

print("My favorite number is " + x_str + ". ")  

becomes My favorite number is 7.

You can change an integer to a string within the print statement if you don't want to dedicate a variable for it.
ex:

print("My favorite number is " + str(x) + ". ")  

becomes My favorite number is 7.

Here is the full code:

#Input your Favorite number
x = int(input('Enter your favorite number: '))  
#The integer of x is then printed
print(x)  
#This variable takes the integer of x
#and converts it into a string
x_str = str(x)  
#This first print statement shows how to add an 
#integer to a string statement
print("My favorite number is", x, ".")  
#This second print statement shows that you
#can concatenate a variable to a string
#if the variable represents a string
print("My favorite number is " + x_str + ". ")  
#This third print dynamically converts the value
#of the variable x to a string. 
print("My favorite number is " + str(x) + ". ")