Title Printing the outline of a square star pattern
Catalog Type SLCItem
Persistent ID https://acos.cs.vt.edu/html/acos-pcex/acos-pcex-examples/py_nestedloops_print_a_square_star_pattern__664e4dbf91363872f0ba3849?index=1
Platform Name PCEX
Features
Description Construct a program that takes an input as the size of a square and print the outline of the square.\nFor example, if a user’s input is 4, the printed square should look like:\n****\n* *\n* *\n****
Keywords
Author Mohammad Hassany
Institution University of Pittsburgh
Iframe URL https://acos.cs.vt.edu/html/acos-pcex/acos-pcex-examples/py_nestedloops_print_a_square_star_pattern__664e4dbf91363872f0ba3849?index=1
Protocol SPLICE
Protocol URL
License MIT
Programming Language PYTHON
Natural Language en

Preview

SPLICE Output