Python Vocabulary

12345678910111213141516171819202122
Across
  1. 2. It is used in conditional statements (if statements), and decides what to do if the condition is False.
  2. 5. It is used to end the current iteration in a for loop or a while loop and goes to the next iteration.
  3. 8. It allows you to modify the variable outside of the current scope.
  4. 10. It is used to catch and handle the exception(s) that are encountered in the try clause.
  5. 11. It is used to produce an exception to interrupt the code execution.
  6. 13. It terminates the current loop and resumes execution at the next statement. It can be used in both while and for loops.
  7. 15. An anonymous inline function consisting of a single expression which is evaluated when the function is called.
  8. 17. This block lets you check some code for errors.
  9. 18. It is always executed after try and except blocks. It always executes after normal termination of try block or after try block terminates due to some exception.
  10. 21. It is used to make code in one module available in another.
  11. 22. It is a control flow statement which allows code to be executed repeatedly, depending on whether a condition is satisfied or not.
Down
  1. 1. It is used when debugging code. It lets you test if a condition in your code returns True, if not, the program will raise an Error.
  2. 3. It is used to work with variables inside nested functions, where the variable should not belong to the inner function.
  3. 4. marks the start of the function header. A function name to uniquely identify the function.
  4. 6. 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.
  5. 7. A template for creating user-defined objects.
  6. 9. It is a null statement. The interpreter does not ignore this statement, but nothing happens, and the statement results into no operation.
  7. 12. It is the same as "else if" in other programming languages.
  8. 14. it is used to end the execution of the function call and gives the result to the caller.
  9. 16. It can be used to erase an item at a given index and to remove slices from a list.
  10. 19. 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.
  11. 20. It is a keyword that is used like return, but the function will return a generator.