Coding-Riddles/trident.py
2025-01-20 11:37:00 -05:00

13 lines
No EOL
254 B
Python

tines = int(input(""))
spacing = int(input(""))
handle = int(input(""))
for i in range(tines):
print((("*" + " " * spacing) * 3).strip())
width = 3+(spacing*2)
print(("*" * width).strip())
for i in range(handle):
print(" " * (width//2) + "*")