Guest User

Untitled

a guest
Jul 15th, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. var age = 20
  2. print("I am \(20) years old, that's \(age * 7) in dog years.")
  3. // I am 20 years old, that's 140 in dog years.
  4.  
  5. var lastName = "Gallaugher"
  6. var phrase = "My last name is \(lastName) and it contains \(lastName.count) letters."
  7. print(phrase)
  8. // My last name is Gallaugher and it contains 10 letters.
Add Comment
Please, Sign In to add comment