Star Pattern
Class 11th CBSE
Assignment
Q-5. Star Pattern
Solution :-
rows = 5
for i in range(1, rows + 1):
for j in range(1, i + 1):
print(“*”, end=’ ‘)
print(”)
Output :-
Try this Code :-
Fun & Easy to follow
Works on all devices
Your own Pace
Super Affordable
Popular Videos
Play Video
UX for Teams
Learn the basics and a bit beyond to improve your backend dev skills.
Chris Matthews
Designer
Play Video
SEO & Instagram
Learn the basics and a bit beyond to improve your backend dev skills.
Chris Matthews
Designer