The Picard Maneuver@startrek.website to Funny: Home of the Haha@lemmy.world · 5 months agoGood effortstartrek.websiteimagemessage-square127fedilinkarrow-up1991arrow-down111
arrow-up1980arrow-down1imageGood effortstartrek.websiteThe Picard Maneuver@startrek.website to Funny: Home of the Haha@lemmy.world · 5 months agomessage-square127fedilink
minus-squareDefederateLemmyMllinkfedilinkEnglisharrow-up2·5 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·5 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.