Python sample question with answer 37
Question:
According to PEP 8, Python variable names should be written in which style?
- mixedCase (Example: variableName)
- lower_case_with_underscores (Example: variable_name)
- UPPERCASE (Example: VARIABLENAME)
- lowercase (Example: variablename)
Answer:
B - is the correct answer