MCQs > IT & Programming > Python > According to the PEP 8 coding style guidelines, how should constant values be named in Python?

Python MCQs

According to the PEP 8 coding style guidelines, how should constant values be named in Python?

Answer

Correct Answer: In all caps with underscores separating words -- e.g. MAX_VALUE = 255

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Python Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Python Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it