i=9
while i>0:
for j in range(1,i+1):
print(str(i)+"*"+str(j)+"="+str(i*j),end=" ")
print("\n")
i--
SyntaxError: multiple statements found while compiling a single statement [Real Python Rookie]
i=9
while i>0:
for j in range(1,i+1):
print(str(i)+"*"+str(j)+"="+str(i*j),end=" ")
print("\n")
i--
SyntaxError: multiple statements found while compiling a single statement [Real Python Rookie]
i-- doesn't work in python. -- is no existing operator. You could use i -= 1 for example.