+ 1
I can't understand this!
func multiply (_ a: Double, _ b: Double) -> Double { a * b } what went wrong?? I try to decode it but i dont quite understand?? Please help!
5 odpowiedzi
+ 2
@ ReimarPB, I think it is swift...
https://www.sololearn.com/learn/Swift/2348/?ref=app
@ Dx9
func multiply(a: Double, b: Double) -> Double {
return a * b
}
+ 3
First of all, which language is that?
+ 2
Post code so that we may help.
+ 2
It actually from codewars... I've been stuck there forever. BTW thank you so much
+ 1
I have tested it in several languages and they all give me an error. The code kinda reminds me of the test you have to do before you can create an account in codewars...