Retired

Make a grid full of symbols (retired)

Description:

Make a grid of size m, n filled with each ascii character from 33 onwards. (32 is a space)

m = 3, n = 4, return

+---+---+---+
| ! | " | # | chr(33), chr(34), chr(35)
+---+---+---+
| $ | % | & | chr(36), chr(37), chr(38)
+---+---+---+
| ' | ( | ) | chr(39), chr(40), chr(41)
+---+---+---+
| * | + | , | chr(42), chr(43), chr(44)
+---+---+---+

m = 2, n = 3, return

+---+---+
| ! | " | chr(33), chr(34)
+---+---+
| # | $ | chr(35), chr(36)
+---+---+
| % | & | chr(37), chr(38)
+---+---+

m = 1, n = 1, return

+---+
| ! | chr(33)
+---+

Note:

  • No invalid solutions will be tested.
  • 0 < m <= 10; 0 < n <= 10
Algorithms

More By Author:

Check out these other kata created by goldenratio161

Stats:

CreatedAug 5, 2022
Warriors Trained22
Total Skips0
Total Code Submissions56
Total Times Completed9
Python Completions9
Total Stars0
% of votes with a positive feedback rating42% of 6
Total "Very Satisfied" Votes2
Total "Somewhat Satisfied" Votes1
Total "Not Satisfied" Votes3
Total Rank Assessments6
Average Assessed Rank
7 kyu
Highest Assessed Rank
6 kyu
Lowest Assessed Rank
7 kyu
Ad
Contributors
  • goldenratio161 Avatar
Ad