Explore Library
Code QuizBeginner

Reassigning a var Variable

Spot why reassigning this variable fails to compile.

Codeswift
var score = 10
score = "twenty"
print(score)

What is the bug in this code?