import cyberpi
import time
import math, random


___booleanVarFalse = True
___booleanVar = False
___numberList = [0, 0, 0]
___booleanList = [True, True, True]
___stringList = ["", "", ""]
___colorList = [(204, 0, 0), (204, 0, 0), (204, 0, 0)]
___numberVar = 0
___stringVar = ""
def ____control():
    global ___booleanVarFalse, ___booleanVar, ___numberList, ___booleanList, ___stringList, ___colorList, ___numberVar, ___stringVar
    if ___booleanVarFalse:
        pass
    if ___booleanVarFalse:
        pass
    while True:
        pass
    for ___k0 in range(int(0), int(___numberVar), int(1)):
        pass
    while not ___booleanVarFalse:
        pass
    while ___booleanVar:
        pass
    for ___i in range(int(___numberVar), int(___numberVar), int(___numberVar)):
        continue
    for ___Element3 in ___numberList:
        pass
    for ___Element4 in ___booleanList:
        pass
    for ___Element6 in ___stringList:
        pass
    for ___Element5 in ___colorList:
        break
    while True:
        if ___booleanVarFalse:
            break
    time.sleep(___numberVar/1000)

def ____logic():
    global ___booleanVarFalse, ___booleanVar, ___numberList, ___booleanList, ___stringList, ___colorList, ___numberVar, ___stringVar
    cyberpi.console.println(___numberVar == ___numberVar)
    cyberpi.console.println(___numberVar != ___numberVar)
    cyberpi.console.println(___numberVar < ___numberVar)
    cyberpi.console.println(___numberVar <= ___numberVar)
    cyberpi.console.println(___numberVar > ___numberVar)
    cyberpi.console.println(___numberVar >= ___numberVar)
    cyberpi.console.println(___booleanVar and ___booleanVar)
    cyberpi.console.println(___booleanVar or ___booleanVar)
    cyberpi.console.println(not ___booleanVar)
    cyberpi.console.println(True)
    cyberpi.console.println(False)
    cyberpi.console.println(None)
    cyberpi.console.println(___numberVar if ( ___booleanVar ) else ___booleanVar)

def run():
    global ___booleanVarFalse, ___booleanVar, ___numberList, ___booleanList, ___stringList, ___colorList, ___numberVar, ___stringVar
    ____control()
    ____logic()

def main():
    try:
        run()
    except Exception as e:
        cyberpi.display.show_label("Exeption on Mbot 2", 16, int(8 * 0 + 5), int(17 * 0))
        cyberpi.display.show_label(e, 16, int(8 * 0 + 5), int(17 * 1))
        raise
main()