The main difference between the outer core and the inner core of the Earth is that the inner core is solid and primarily composed of iron and nickel, while the outer core is liquid and also mostly composed of iron and nickel. Therefore, the correct statement is:
The inner core is solid iron and nickel and the outer core is liquid iron and nickel.