Question: please write this in python def simple_board (size): Given a size, produce a square ASCII art grid representing a game board (like for checkers or
please write this in python

def simple_board (size): Given a size, produce a square "ASCII art grid representing a game board (like for checkers or chess). The game board will use dashes (-) for the horizontal lines, bars() for the vertical lines, and plus signs (+) for the intersections. size indicates the number of play spaces wide the board is. For example Size 1 Board Size 2 Board Size 3 Board Size 4 Board Return value a string of the game board Assumptions o size will be a positive integer Notes: o Hint 1: Modulus is your friend for this function! o Hint 2: You must use at least one loop, but you are not limited to one loop o Make sure to return a string, notprint a string What is "ASCII art"? It is basically "art made with computer text" and creating it is a (popular?) pastime for some people. Google it for more examples, but here's an example of a mouse
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
