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