I want to create this table in python:
x1 target 1 1 1 1 23 2 32 3 1 1 2 2 2 3 4 4 1 1
This is easy to solve in Excel,