Skip to content

Synthird/command-line-skyscraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Using dots to print a skyscaper in the command line

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages