python code:(only task 5 )
Task 4 example
For example: your program could do the following: Enter N: 4 Enter position of Queen 1 0 Enter position of Queen: 3 1 Enter position of Queen: 02 Enter position of Queen: 23 0 0 1 0 1 0
OR
OR
python code:(only task 5 )
Task 4 example
For example: your program could do the following: Enter N: 4 Enter position of Queen 1 0 Enter position of Queen: 3 1 Enter position of Queen: 02 Enter position of Queen: 23 0 0 1 0 1 0