Sign In

Search

Variables and Constants (9967)View All



A variable in Python is a name that refers to a value stored in memory. Because Python is dynamically typed, the same variable can refer to values of different data types during program execution. Python has no built-in keyword for constants. By convention, programmers write constant names in ALL CAPITAL LETTERS to indicate that their values should not be modified.