Skip to content

Instantly share code, notes, and snippets.

@peterkos
Created April 28, 2020 20:41
Show Gist options
  • Save peterkos/fe95b019971cc969999d67c61f211bde to your computer and use it in GitHub Desktop.
Save peterkos/fe95b019971cc969999d67c61f211bde to your computer and use it in GitHub Desktop.
Lesson 3 func Solution.swift
func add(num1: Int, num2: Int) -> Int {
return num1 + num2
}
let result = add(num1: 3, num2: 3)
print(result)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment