Quiz: Single and Double Underscores in Python Names

Interactive Quiz ⋅ 9 Questions
By Leodanis Pozo Ramos


In this quiz, you’ll test your understanding of Single and Double Underscores in Python Names.

By working through this quiz, you’ll revisit Python naming conventions that rely on using underscores (_), how to differentiate public and non-public names by using a single leading underscore, how to use double leading underscores to leverage name mangling in Python classes, and other common uses of underscores in Python names.

The quiz contains 9 questions and there is no time limit. You’ll get 1 point for each correct

 

 

 

To finish reading, please visit source site