diff --git a/Task1.py b/Task1.py new file mode 100644 index 0000000..4d86c00 --- /dev/null +++ b/Task1.py @@ -0,0 +1,9 @@ +def PrintStar(size): + for i in range(1 , size + 1 ): + spaces= ' ' * (size - i ) + stars ='*' * i + print(spaces + stars + ' ' + stars) + +size = int(input("Enter the size of Stars: ")) + +PrintStar(size) \ No newline at end of file