how to set a variable in swift code example
Example 1: how to name a variable in swift
var myVariable = "this is a mutable string"
let myConstant = "this cannot be changed"
Example 2: swift how to make a variable
// To create a variable type 'var' 'varName' = '"String" or Int'
var wallet = 100
var name = Joe