Tag Archives: negation

What is DeMorgan’s Law in Programming? [ Answered with pics]

Demorgan’s Law is something that any student of programming eventually needs to deal with. Just tell me the “formula”, ok : [crayon-5971bfb8178f2010862078-i/] is equivalent to [crayon-5971bfb8178fc145959381-i/] [crayon-5971bfb817901614791918-i/] is equivalent to [crayon-5971bfb817905291237157-i/] Demorgan’s Law via Animation and Code 2 animations of Penjee Python code demonstrating DeMorgan’s law The goal of the map below is to write a while loop until … ...

How to negate two things

A lot of students, when they’re first learning to program,  are surprised when they’re code doesn’t do what they want.  We are going to explore why that is .   Newby programmer trying to write “hey as long as these two things are false”…do some stuff hmm… how do we write that. It might actually … Continue reading How to negate two things →

Jeroo And Loop

Assignment  While_and_flower:   Create a map with flowers at (0,3) , (0,22) and ( 0 , 23) start at  (0,0) end at (0,22) use 1 loop do not pick up any flowers The map     [crayon-5971bfb81b7c3631298982/] Replace the question marks above with relative directions.   Write a single loop that takes the jeroo from the … Continue reading Jeroo And Loop →