Bifalgorithm post

3 rules that every beginner should know while creating a variable in Python. Number one, that the name of a variable should not be one of the keywords that I use in Python. Number two, a variable name should never start with a letter or a special symbol. And lastly, number three, that if you're creating a variable which has two different words in it, never use a space in between. You can use the underscore, camel cases or Pascal Pascal cases but never use the space in between.

3 rules that every beginner should know while creating a variable in Python. Number one, that the name of a variable should not be one of the keywords that I u…

Ideas in this flowchart

  • Python Variable Naming Rules
  • Avoid Keywords
  • No Starting with Number or Symbol
  • No Spaces in Multi-word Names
  • Use Underscore or CamelCase
Feed/

3 rules that every beginner should know while creating a variable in Python. Number one, that the name of a variable should not be one of the keywords that I use in Python. Number two, a variable name should never start with a letter or a special symbol. And lastly, number three, that if you're creating a variable which has two different words in it, never use a space in between. You can use the underscore, camel cases or Pascal Pascal cases but never use the space in between.

"3 rules that every beginner should know while creating a variable in Python."

👍
0
0 comments0 shares

Sign in to view and post comments.