Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 746 Bytes

File metadata and controls

40 lines (29 loc) · 746 Bytes

Command line skyscraper

Using dots to print a skyscraper in the command line. The height of the building as well as the rod are asked before printing.

Example of a command line-printed skyscraper

This skyscraper contains seven floors and a lightning rod that is three dots tall.

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

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.