We are about to switch to a new forum software. Until then we have removed the registration on this forum.
it prints like: You have20lives left
I want it to print like: You have 20 lives left
(This is for my brickbreaker game)
lives = 20
c = ("You have %i lives left" % (lives))
print(c)
Answers
c = ("You have %i lives left" % (lives))
print(c)
what language is this?
It works for me in Python Mode from PDE v3.3. Windows 8.1 64-bit laptop here. >-)
It prints:
You have 20 lives left.
. ;;)Same code, but for JS now: O:-)
Thank you GoToLoop. You are a genius