Question: okay so hear my problem i have a python project about filling tables with trominos! but it cant be random! the user has to input
okay so hear my problem i have a python project about filling tables with trominos! but it cant be random! the user has to input n which gives the size of the table n n and then we have to use different trominos to fill the table completely leaving only blank space! the trominos are of three colors GREEN BLUE AND RED a green tromino cant touch another green etc the visual representation is easy we dont need visuals because every block of a green tromino is represented with a G etc, R for red and B for Blue If n cover the times square and stop.If n put a green tromino in the middle, so that each piece of it
covers a part of each times square that is not deficient.
Place alternately blue and red trominos around the green tromino,
so as to cover the missing times square, except for one hole. so lets say for n the print should be G X
G G and for n it should be
B B R R
B G G R
R G B B
R R B X please help me implement this in python cause im lost.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
