Edit the code below to print the output using the Python format() method.
number1 = 2
number2 = 3

print('The sum of the numbers is ' + number1 + number2)
number1 = 2
number2 = 3

print('The sum of the numbers is {}'.format(number1 + number2))