var myHobby: String? myHobby="playing soccer" if myHobby != nil { print("I like playing soccer") }else{ print("I haven't any hobby") }