Write an integer to standard output.
Signature
func print(value int)
Parameters
value— the integer to write.
Return Value
print does not return a value.
Example
var answer = 42
print(answer)
The example writes 42 followed by a line break to standard output.