Skip to content

Printing a rectangle in the command line

License

Synthird/command-line-rectangle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Printing a rectangle in the command line

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages