# T / \* Diamond creation

**URL:** https://discuss.python.org/t/t-diamond-creation/11022
**Category:** Python Help
**Tags:** help
**Created:** [October 7, 2021, 9:37pm UTC](https://discuss.python.org/t/t-diamond-creation/11022 "2021-10-07T21:37:51Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![xxxlabradorxxx](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/xxxlabradorxxx/32/5038_2.png) [@xxxlabradorxxx](https://discuss.python.org/u/xxxlabradorxxx)
#### Post date: [October 7, 2021, 9:37pm UTC](https://discuss.python.org/t/t-diamond-creation/11022/1 "2021-10-07T21:37:51Z")

</div>

Hi, I need to create a T diamond mixed with asterisks, so I was hoping someone could help me with the best way to go about doing this.

Enter the length (an even number between 0 and 20): -1  
Enter the length (an even number between 0 and 20): 3  
Enter the length (an even number between 0 and 20): 22  
Enter the length (an even number between 0 and 20): 10  
Enter the char used left to the diamond: \*  
Enter the char used to fill the diamond: T  
\TTTTTTTT/  
\*\TTTTTT/  
\*\*\TTTT/  
\*\*\*\TT/  
\*\*\*\*\/  
\*\*\*\*/\  
\*\*\*/TT  
\*\*/TTTT  
\*/TTTTTT  
/TTTTTTTT\
