by Frank Vernon | Feb 18, 2021 | Print Command, Troubleshooting, Variables
Example code: var a = 5var b = 8print(“a: \(a)”)print(“b: \(b)”)// To make the values of “a” and “b” reversed, see the code below. //var c = aa = bb = cprint(“a: \(a)”)print(“b: \(b)”) The printed...
by Frank Vernon | Feb 18, 2021 | Print Command
Basic Print command:print(“This is text that is printed”)The result will be:This is text that is printed Running simple code inside a print command uses \(something) inside it.Example:print(“This number 25 is the same as \(20+5).)The result will...
Recent Comments