The Picard Maneuver@startrek.website to Funny: Home of the Haha@lemmy.world · 9 months agoGood effortstartrek.websiteimagemessage-square129fedilinkarrow-up11Karrow-down111
arrow-up1990arrow-down1imageGood effortstartrek.websiteThe Picard Maneuver@startrek.website to Funny: Home of the Haha@lemmy.world · 9 months agomessage-square129fedilink
minus-squareDefederateLemmyMllinkfedilinkEnglisharrow-up2·9 months agoelephant_generator.sh #!/bin/bash elephantCount=0 for (( i=0; i<=${elephantCount}; i++ )); do echo "Insert elephant ${i}" done
minus-squareDoomBot5@lemmy.worldlinkfedilinkEnglisharrow-up1arrow-down1·9 months agoThat’s all fine, but the issue comes from the natural language processing layer. “elephants == elephant > 1” so elephant = 1 is still valid.
elephant_generator.sh
#!/bin/bash elephantCount=0 for (( i=0; i<=${elephantCount}; i++ )); do echo "Insert elephant ${i}" done
That’s all fine, but the issue comes from the natural language processing layer. “elephants == elephant > 1” so elephant = 1 is still valid.