var exitement: Character = "!" var myFirstString: String = "In wine, there is wisdom." var mySecondString: String = "In water, there is Giardia." var characterPoorString = "" var stringWithPotential = String() var theTruth = myFirstString + " " + mySecondString print(theTruth)
// Plain string var doggyDiet = "Mia eats 10lbs of dog food per month" // define variables var dogName = "Mia" var lbsPerMonth: Double = 10 // Same string, this time with the variable inserted doggyDiet = "\(dogName) eats \(lbsPerMonth)lbs of dog food per month" print(doggyDiet) let kilosInALb = 0.45 lbsPerMonth = 25 var metricDoggyDiet = "\(dogName) eats \(kilosInAlb * lbsPerMonth)kilos of dog food per month" print(metricDoggyDiet) dogName = "Mia" lbsPerMonth = 10 metricDoggyDiet = "\(dogName) eats \(kilosInALb * lbsPerMonth)kilos of dog food per month" print(metricDoggyDiet)