Quiz Question 1 of 3
There is a code smell in the code below:
first_number = 5
first_result = first_number * first_number
print("The number {} squared is {}".format(first_number, first_result))
second_number = 8
second_result = second_number * second_number
print("The number {} squared is {}".format(second_number, second_result))
What could be done to fix the duplication of code?
Choose the correct answer below: