xxxxxxxxxx
Set v = {};
int w = 1;
void main() {
cc();
}
cc (){
while(v.length != 19){
w++;
var x = w+ w ;
v.add(x);
}
print(v);
}
// outpot
{4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40}
xxxxxxxxxx
double value = 2.5;
print(value.floor().isEven ? "It's even" : "It's odd");