Game Preview

HS Python coding vocab

  •  English    35     Public
    keywords for coding
  •   Study   Slideshow
  • Boolan statement, opposite of true
    false
    not
    False
    fulse
  •  15
  • Boolean statement: opposite of false.
    True
    true
    tru
    yes
  •  15
  • An empty string of code
    none
    blank
    blanck
    None
  •  15
  • Used to determine if both left and righ operands are truthy or falsy
    AND
    and
    BOTH
    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
    with
    in
    out
  •  15
  • Connects 2 expressions and evaluates for true or false
    OR
    Or
    or
    ore
  •  15
  • Gives the opposite Boolean value of a variable
    not
    Not
    other
    Other
  •  15
  • Starts a conditional statement if the statement is true.
    if
    Then
    then
    IF
  •  15
  • works like "if" statement but can only be used after an "if" or another of the same statement
    elif
    ElseIf
    Elif
    else if
  •  15
  • Denotes blocks of code that should be run when "if" and "elif" statements are falsy
    Else
    ELSETHEN
    else
    Elsethen
  •  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
    Stop
    stop
    break
  •  15
  • Stops the current loop and moves to next step
    NEXT
    continue
    CONTINUE
    Next
  •  15
  • used to define a function or method of class
    DEF
    def
    define
    Define
  •  15