Wednesday, September 21, 2016

If-Then

If-then statements are used in math and computer science as conditional statements of a hypothesis followed by a conclusion. These statements are written as pq, which is read as "if p, then q".
For example, if you exercise, then you can reward yourself with a piece of zucchini bread. These can also get more complex with if-then-else and else-if statements to combine several conditions, but these are probably beyond the scope of this sometimes-knitting blog.

Justin has provided me with another example. 

If you insist on sending photos of gigantically long Texas indigo snakes* to your mother,



Then your mother will send you a pair of snakeproof boots. 



Wear them. 

*Texas indigo snakes are large (6-8 ft.), nonvenomous, and sometimes even eat rattlesnakes. Still, wear the boots and don't play with snakes.

9 comments:

  1. YIKES!!!! that boy certainly keeps your photostream "interesting" but I think I'd be afraid to even open the messages!

    ReplyDelete
  2. goodness me, that is one long snake....eek!

    ReplyDelete
  3. Oh man. I don't care that it is nonvenomous. It's way too big.

    ReplyDelete
  4. Since I am singing all day (you can thank Dale and Carole for this!) Immediately "I don't like spiders and snakes" sprung forth from my lips (after my internal AACCKKK!) And, I second the boot photo - as in do it now dear boy!! Pronto!!

    ReplyDelete
  5. Lordy. I think those boots are TOTALLY CALLED FOR! :) I don't know what to send my girl who sits atop cliffs... she wouldn't use that safety net, anyway!

    ReplyDelete
  6. Yikes! I think I'd want a snake proof suit, not just boots!

    ReplyDelete
  7. Yowza. That is QUITE a snake. And, yeah. Then. . . boots!

    ReplyDelete
  8. I thought the photo was rather amazing (and I'm not freaked out or afraid). That said, Justin should do as his mother requests!

    ReplyDelete
  9. I'm just shuddering! That snake is just too big. Wear 'dem boots Justin!

    ReplyDelete

Thank you for visiting and taking the time to comment! :-)