fb pixel

Draw an X

Write a function that would fill a square with symbols. The symbols on the main and secondary diagonals should be filled with a symbol inputted in the first line of the input, while the rest should be filled out by the symbol inputted in the second line of the input.
The program should output the filled square.

To check your solution you need to sign in
Sign in to continue