wow it's me again!
i have:
i=0
while i<11:
print i,
print ''
i=i+1
this gives the answer:
0
1
2
3
4
5
6
7
8
9
10
i need to give the answer.
*
* *
* * *
* * * *
* * * * *
* * * * * *
* * * * * * *
* * * * * * * *
* * * * * * * * *
i know my code has print i
which is only temporary and it should be print *.
Is there any command that can do someting like:
For amount in i:
print '*'
specifically whatever integer is in i to print that many '*'s
i know of
for i in range(10)
but i must keep this in while and cant use for.
i understand this is long and i appreciate your patience thanks.