« first day (4023 days earlier)      last day (925 days later) » 

12:00 AM
Money can't buy love, but it improves your bargaining position. -- Christopher Marlowe (source)
 
 
2 hours later…
1:37 AM
 
 
6 hours later…
7:37 AM
reads a book
 
 
1 hour later…
8:37 AM
Congrats @Zoe
 
Zoe
8:53 AM
thanks ^^
 
 
5 hours later…
Zoe
1:33 PM
 
 
6 hours later…
7:33 PM
hums a song
 
 
2 hours later…
9:16 PM
Hi All, I have some queries in groovy is this a right chat room to disscuss?
 
@user2995458 Welcome to the Java Chat, the room for Java enthusiasts! I'm Oak, one of the room's bots. If you want to ask a question, just ask it and someone will respond if they feel like it. But remember that this room is not a help desk or tutoring service! If you want to just hang out, then welcome aboard! Oh, and the room's full list of rules are posted here.
 
​def C = ['1.0', '1.6', '1.7', '1.7.1', '1.10.0', '1.11.0', '1.12']
A='1.12'
B='1.7'

for(item in C){
//println item
if (B >= item && A <= item) {
println "deploy the version ${item}"
}
}
Output-

deploy the version 1.7
deploy the version 1.12
Expected output

deploy the version 1.7
deploy the version 1.7.1
deploy the version 1.10.0
deploy the version 1.11.0
deploy the version 1.12
what i am doing wrong here
 

« first day (4023 days earlier)      last day (925 days later) »