Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
4
Task/Named-parameters/Swift/named-parameters-1.swift
Normal file
4
Task/Named-parameters/Swift/named-parameters-1.swift
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
func isGreater(x x:Int, thanY y:Int) -> Bool {
|
||||
return x > y
|
||||
}
|
||||
assert(isGreater(x: 5, thanY: 10) == false)
|
||||
4
Task/Named-parameters/Swift/named-parameters-2.swift
Normal file
4
Task/Named-parameters/Swift/named-parameters-2.swift
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
func isGreater(x:Int, _ y:Int) -> Bool {
|
||||
return x > y
|
||||
}
|
||||
assert(isGreater(5, 10) == false)
|
||||
Loading…
Add table
Add a link
Reference in a new issue