Game Preview

HS Python coding vocab

  •  English    35     Public
    keywords for coding
  •   Study   Slideshow
  • Boolan statement, opposite of true
    false
    not
    fulse
    False
  •  15
  • Boolean statement: opposite of false.
    true
    tru
    yes
    True
  •  15
  • An empty string of code
    None
    blanck
    none
    blank
  •  15
  • Used to determine if both left and righ operands are truthy or falsy
    and
    BOTH
    AND
    both
  •  15
  • Object identity check: determines if 2 objects are exactly the same.
    IS
    Is
    si
    is
  •  15
  • containmennt check, is a element included in the data
    included
    in
    with
    out
  •  15
  • Connects 2 expressions and evaluates for true or false
    Or
    OR
    or
    ore
  •  15
  • Gives the opposite Boolean value of a variable
    other
    Other
    Not
    not
  •  15
  • Starts a conditional statement if the statement is true.
    IF
    Then
    if
    then
  •  15
  • works like "if" statement but can only be used after an "if" or another of the same statement
    Elif
    elif
    else if
    ElseIf
  •  15
  • Denotes blocks of code that should be run when "if" and "elif" statements are falsy
    ELSETHEN
    Else
    Elsethen
    else
  •  15
  • Most common loop, often used with "in"
    for
    loop
    Loop
    FOR
  •  15
  • Loop word, if conditions that follow are truthy, using this keyword will keep its statement running over and avoer
    while
    While
    when
    When
  •  15
  • Exits a loop early
    break
    BREAK
    stop
    Stop
  •  15
  • Stops the current loop and moves to next step
    CONTINUE
    Next
    NEXT
    continue
  •  15
  • used to define a function or method of class
    def
    DEF
    define
    Define
  •  15