Which is better a 9900k vs a 2700x

The answer to this question depends on what you plan to use the processor for. The Intel Core i9-9900K is a higher-end processor that is better suited for gaming and other intensive tasks, while the AMD Ryzen 7 2700X is a mid-range processor that is better suited for multitasking and productivity tasks.