How to delete a specific number of rows and columns randomly?

Worked perfectly!

I understood.

I want the top 6 lines of code (which create the random values I request).