0
Print on one line
hey! how can I print in one line when the print is on for loop? I'm trying to do Multiplication table code. thanks! https://code.sololearn.com/c2m6dzM65xVU/?ref=app https://code.sololearn.com/c2m6dzM65xVU/?ref=app
5 Answers
+ 7
Same here, i'm not a Python expert, but i'm pretty sure it works, i tried it 4/5 times and it works fine. :3
This should be the full program, take it as a reference:
https://code.sololearn.com/cD1R8Q6TGFnI/?ref=app
+ 6
i= range(10)
j= range (10)
for x in i:
for y in j:
print((x+1)*(y+1), end=" ")
+ 1
it's write "no output". you know why?
+ 1
https://code.sololearn.com/cO0uB8V6x045/?ref=app
My multiplication code from a while back.
0
thanks. I planned to add the if later. it works!