0
Two issues:
- I do not understand what is the reason at each end of text seems a
\n
. - I declared a variable
name
, and when I call the variable in the middle of the text it does not seem that it has not been declared.
Xcode Version 7.3.1 (7D1014)
Code:
import UIKit
var age = 19
if age >= 18 {
print("You can play")
} else {
print("sorry are young")
}
var name = "Lucas"
if name == "Lucas" {
print("Hi, + name + welcome")
}
Screen print:
Thanks Jasar Orion, it worked but the n still appears
– An. Jorge
even using the Terminator? print("You can play", Terminator: "")
– Jasar Orion
Now gave, had an extra space. Thanks
– An. Jorge
rsss otimo tag reply as solved there and already was
– Jasar Orion
one more question where I close where I switch to solved just created the account
– An. Jorge
ta seeing in my comment yesterday has the number one with an arrow up and down ? just below has a V. It’s just a check
– Jasar Orion