live/solutions/operatoren.groovy aktualisiert
parent
76b60749bd
commit
26b09cb7bf
|
@ -1,4 +1,6 @@
|
||||||
def words = ["Groovy", "ist", "cool"]
|
def words = ["Groovy", "ist", "cool"]
|
||||||
|
def numbers = [1, 2, 3, 4, 5]
|
||||||
|
|
||||||
def lengths = words*.length()
|
def lengths = words*.length()
|
||||||
def squares = numbers*.multiply(numbers)
|
def squares = numbers*.multiply(numbers)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue