Run
# Given string x = "apple" # Given number n = 123 # Append the number to the string result = f"{x}{n}" # Print the result print(result)
Output