Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 613 Bytes

File metadata and controls

36 lines (24 loc) · 613 Bytes

Command line rectangle

Printing a rectangle in the command line. Width and height are asked before printing.

Example of a command line-printed rectangle

Width = 7 dots

Height = 4 dots

.......
.......
.......
.......

Installation

  1. You must have python installed.
  2. Download main.py.
  3. Run the following command:
python main.py

If the previous command didn't work, try

python3 main.py

License

This repository contains the MIT license. You must give credit if you are going to use its source code.