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
    None
    none
    blank
  •  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.
    si
    is
    IS
    Is
  •  15
  • containmennt check, is a element included in the data
    included
    with
    out
    in
  •  15
  • Connects 2 expressions and evaluates for true or false
    or
    Or
    ore
    OR
  •  15
  • Gives the opposite Boolean value of a variable
    not
    Other
    Not
    other
  •  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
    else if
    Elif
    ElseIf
  •  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"
    for
    Loop
    loop
    FOR
  •  15
  • Loop word, if conditions that follow are truthy, using this keyword will keep its statement running over and avoer
    When
    while
    when
    While
  •  15
  • Exits a loop early
    BREAK
    stop
    Stop
    break
  •  15
  • Stops the current loop and moves to next step
    NEXT
    continue
    Next
    CONTINUE
  •  15
  • used to define a function or method of class
    def
    define
    Define
    DEF
  •  15