Bifalgorithm post

What is a variable in Python? A variable is a name attached to a value. For example, age is the name attached to this value 25. So age is the variable which we can use in our programs in place of value 25. Also, it can be changed. For example, age can be changed to 31. And it can hold different types of data. For example, in one instance, variable X can hold value 10, which is an integer. And on the other instance, it can hold this name Alice, which is a string. So a variable can hold different types of data. So this is what a variable is in Python. Want to learn Python? Follow our Python programming course.

What is a variable in Python? A variable is a name attached to a value. For example, age is the name attached to this value 25. So age is the variable which we…

Ideas in this flowchart

  • Variable in Python
  • Definition
  • Name attached to a value
  • Example: age = 25
  • Changeability
  • Value can be changed
  • Example: age = 31
  • Data Types
  • Can hold different types
  • Example: X = 10 (integer)
  • Example: X = 'Alice' (string)
  • Python Programming Course
Feed/

What is a variable in Python? A variable is a name attached to a value. For example, age is the name attached to this value 25. So age is the variable which we can use in our programs in place of value 25. Also, it can be changed. For example, age can be changed to 31. And it can hold different types of data. For example, in one instance, variable X can hold value 10, which is an integer. And on the other instance, it can hold this name Alice, which is a string. So a variable can hold different types of data. So this is what a variable is in Python. Want to learn Python? Follow our Python programming course.

"What is a variable in Python? A variable is a name attached to a value."

👍
0
0 comments0 shares

Sign in to view and post comments.