Game Preview

HS Python coding vocab

  •  English    35     Public
    keywords for coding
  •   Study   Slideshow
  • Boolan statement, opposite of true
    not
    fulse
    false
    False
  •  15
  • Boolean statement: opposite of false.
    yes
    True
    true
    tru
  •  15
  • An empty string of code
    blanck
    blank
    None
    none
  •  15
  • Used to determine if both left and righ operands are truthy or falsy
    AND
    BOTH
    both
    and
  •  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
    out
    with
    included
    in
  •  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.
    Then
    then
    IF
    if
  •  15
  • works like "if" statement but can only be used after an "if" or another of the same statement
    else if
    elif
    ElseIf
    Elif
  •  15
  • Denotes blocks of code that should be run when "if" and "elif" statements are falsy
    else
    Else
    ELSETHEN
    Elsethen
  •  15
  • Most common loop, often used with "in"
    Loop
    FOR
    loop
    for
  •  15
  • Loop word, if conditions that follow are truthy, using this keyword will keep its statement running over and avoer
    when
    While
    while
    When
  •  15
  • Exits a loop early
    BREAK
    break
    Stop
    stop
  •  15
  • Stops the current loop and moves to next step
    Next
    continue
    NEXT
    CONTINUE
  •  15
  • used to define a function or method of class
    Define
    DEF
    define
    def
  •  15