Question 1/12: This code is valid Swift – true or false?
Hint: Click to show.
func recordPodcast(name: String, length: Int) {
if length > 60 {
print("That's too long!")
} else {
print("Recording \(name)...")
}
}
Link copied to your pasteboard.