Explore Library
Code QuizBeginner

Assigning nil to a Non-Optional

Find why assigning nil here is an error.

Codeswift
var username: String = nil
print(username)

What is the bug in this code?