var str = ["Franc": 2]
var a = 1
str["Franc"] = a += 1
print(str)
When I try this code i get an error on line "str["Franc"] = a += 1" that is "Cannot assign value of type '()' to type 'Int?'" How to solve this. I need it in single line Thank you in advance