[Solved] Can someone explain what all the codes mean? PYTHON [closed]
I’ll keep it very simple, because this is very basic stuff. i = 10 Variable i is initialised as 10. while i > 0: print i*’*’ + 2*(10-i)*’ ‘ + i*’*’ i -= 1 While variable i is bigger than 0, it prints the string * i times, an empty space 2 * (10 – … Read more