Skip to content

KyleARector/Letter_Diamond

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Letter_Diamond

Print a letter diamond based on the input character

This program takes in a character (alphabetic) and creates a diamond starting with 'A' and containing the given character as the widest point of the diamond. If the input is lowercase, it will automatically be turned to uppercase. If the input is not alphabetic, or it has more than one character, the program will inform the user and exit.

This can be run on the command line using the following syntax: python3 letter_diamond.py [character]

Examples of tests can be found in files test1, test2 and test3

About

Print a letter diamond based on the input character

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%