+ 1
Help me with this simple python code guys
https://code.sololearn.com/cEMVV2F29aps/?ref=app Guys in this code i want to print like 9 18 27 with space in single line . But it prints in next line .
2 Respostas
+ 2
By default, python adds line breaks after print statements. To change that, add end='' to your print statement.
Your code is just: print(str(9*i))
Make it: print(str(9*i),end=' ')
here👇
https://code.sololearn.com/c8M90JO16n3p/?ref=app
0
Thanks so much arsenic