Swift - Variables and Constants
Identify the error in this Swift code:
let pi = 3.14 pi = 3.14159 print(pi)
let pi = 3.14 pi = 3.14159 print(pi)
pi, which was declared with let and is immutable.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions