|
Post by F4rblos on Jul 21, 2017 16:31:50 GMT
If I print anything with variables like:
A = "hello" B = "world" print(A,B)
Output: hello world
Why is there a gap?
|
|
Guy
New Member
Posts: 18
|
Post by Guy on Jul 21, 2017 23:41:19 GMT
print separates whatever arguments you input into it (in your case two) with indents.
Indents aren't spaced like the font either so, the more arguments you have, the smaller the indent gaps will be.
If you don't want your strings separated with indents, concatenate beforehand into 1 argument, or use io.write. Ex:
print(A .. B) io.write(A, B)
|
|