iOS Swift Basics An Introduction to Swift Programming Working With Constants

I dont understand why its not work //constants let favoritedessert = " bread "

//constants let favoritedessert = " bread "

constants.swift
// Enter your code below

//constants
let favoritedessert = " bread "

1 Answer

Jeff McDivitt
Jeff McDivitt
23,970 Points

Its the spaces in your String that are not passing

let favoriteDessert = "bread"