i am trying this code num=1:5
for(val in num){
if(num==3){
next
}
print(val)
}
and getting the following error
1: In if (num == 3) { :
the condition has length > 1 and only the first element will be used
kindly explain
for(val in num){
if(num==3){
next
}
print(val)
}
and getting the following error
1: In if (num == 3) { :
the condition has length > 1 and only the first element will be used
kindly explain