0
How to make that?
I want to write this...â 1:2 2:4 3:8 But It write that 1: 2 2: 4 3: 8 https://code.sololearn.com/cXYWg8PsvKwZ/?ref=app
3 Answers
0
You can do
print("1:", end="")
to make the next printed output appear on the same line.
0
Thank you
0
You can write it like this too:
print ("1 :",int(x)**int(1))