0
How do i make this pattern
i want the star to be at the end of the digit but i don't know how do it how tall is the stair case 4 * * * * how tall is the stair case 5 * * * * *
3 Respostas
0
Try it with this:
n = 5
i = 0
while i < n:
print(i*' ' + '*')
i = i + 1
0
it didnt work it put them on top of each other
0
nevermind it worked i didnt out a space between the first ' '