CBSE Class 11 Informatics Practices
Question 34 of 36
Conditional and Looping Constructs — Question 34
Back to all questionsn
=
5
for
i
in
range
(
1
,
n
+
1
):
for
j
in
range
(
i
):
print
(
"* "
,
end
=
""
)
print
()
Output
*
* *
* * *
* * * *
* * * * *