What Is Snake Case in Python

Sharing

Click to Home

Log Issues

Click to Log Issue

Description:

In Python, "snake case" is a naming convention in which names are written in lower case letters, with words separated by underscores. For example, a variable called "snake_case_variable" would be in snake case. This naming convention is often used for variables, functions, and other elements in Python code. It is called "snake case" because the underscores used to separate words resemble the pattern of a snake.


Click to Home