Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialDavid Alberto Fuentes Ortiz
1,593 Pointsi try many different ways to make it work and it doesn't work. HELP. can someone give me a web with projects to practice
struct Person {
let firstName: String
let lastName: String
func getFullName() -> Person {
return Person(firstName: "albr" , lastName: "ortx")
}
} i need help.. also can someone give me a website were i can practice what i have learned PLEASE.
struct Person {
let firstName: String
let lastName: String
func getFullName() -> Person {
let full = Person(firstName: "David" , lastName: "Ortiz")
return full
}
}
1 Answer
Michael Jones
Python Development Techdegree Graduate 38,554 PointsHere you go....
struct Person {
let firstName: String
let lastName: String
func getFullName() -> String {
return "\(firstName) \(lastName)"
}
}
Happy Coding!!