Schleife in Solidität
for(uint256 i = 0; i < 5; i++){
if(i == 3){
break;
//it exits from loop
}
if(i == 2) {
continue;
//it skip to next iteration of loop
}
}
//while loop in solidity
uint256 j = 0;
while (j < 10) {
// do any actions
j++;
}
Shirshak kandel