String Formatting
String Formatting
user_name = "Adrika"
age = 13
print("User's name is " + user_name + ". User's age is " + str(age))
print(f"User's name is {user_name}. User's age is {age}")
print("User's name is {}. User's age is {}".format(user_name, age))
Post a Comment