Ad Code

Responsive Advertisement

Basic Python Program - 14.

Write a Python program to print following pattern using loop:

* * * * * * * * * *

IDE: Visual Studio Code ( VSC ). Present: go2collage.


Download hole Program / Project code, by clicking following link:


Programming Code:

# Basic Python Program # Print Patterns using Loop ''' * * * * * * * * * * ''' rows = int(input("Enter patterns row: ")) # get patterns rows from user for i in range(0, rows): for j in range(0, i + 1): print("*", end=' ') print(" ")


Output:




Post a Comment

0 Comments

Ad Code

Responsive Advertisement