Day 6

Today was spend playing with while loops and functions. This was not running directly in python but on Reeborgs world https://reeborg.ca/index_en.html where you use the logic from python to let the robot do things.

Notes

codeblocks
functions
while loops

functions

def function_name():
    indented
    belong
    to
    the
    tunction

call functions

function_name()

while loop not needed to give true
while bla_is_true:
    do_whatever

 

Comments are closed.