Game Preview

PYTHON KEYWORDS

  •  English    11     Public
    PYTHON
  •   Study   Slideshow
  • It terminates the current loop and resumes execution at the next statement. It can be used in both while and for loops.
    Break
  •  15
  • It is used to end the current iteration in a for loop or a while loop and goes to the next iteration.
    Continue
  •  15
  • It is used in conditional statements (if statements), and decides what to do if the condition is False.
    Else
  •  15
  • It can be used to erase an item at a given index and to remove slices from a list.
    del
  •  15
  • It is used for decision-making operations. It contains a body of code which runs only when the condition given in the statement is true.
    If
  •  15
  • It is used to make code in one module available in another.
    Import
  •  15
  • It is used to define a null value, or no value at all. It is not the same as 0, False, or an empty string.
    None
  •  15
  • It is used to produce an exception to interrupt the code execution.
    Raise
  •  15
  • it is used to end the execution of the function call and gives the result to the caller.
    return
  •  15
  • This block lets you check some code for errors.
    Try
  •  15
  • It is a control flow statement which allows code to be executed repeatedly, depending on whether a condition is satisfied or not.
    While
  •  15