From 61284732d9ad0e12ab0c06e37db7e3bb554a2140 Mon Sep 17 00:00:00 2001 From: Jenina Angelin Date: Thu, 31 Oct 2024 00:40:26 +0530 Subject: [PATCH] Create symbolicpattern178.py and Fixes #815 --- symbolicpattern178.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 symbolicpattern178.py diff --git a/symbolicpattern178.py b/symbolicpattern178.py new file mode 100644 index 00000000..f700f98e --- /dev/null +++ b/symbolicpattern178.py @@ -0,0 +1,13 @@ +n=4 +for i in range(n+1): + if i == 0: + print("*" * n) # Print full line + else: + print(" "*(n-i),end="") + print("*") + +# **** +# * +# * +# * +# *