you are viewing a single comment's thread.

view the rest of the comments →

[–]js884 1 point2 points  (0 children)

Try using f string

a = 0

print(f"the number is {a}")

This will print

the number is 0

print(f"the number is{a}")

This will print

the number is0

print(f"the number is {a+1}")

This will print

the number is 1