How to create variables in Python code without Error code
Variables, storage space for applications in programs, are the basis that newbies need to understand.
Variable naming principle
* Name to convey meaning such as name, age, score
* Use the English alphabet or _
* Do not start with a number
* Do not have gaps in the name
* Small and large have different meanings
Things to avoid
* Use words used by Python, such as for, if, class
* Named too short until I don't know what to store
* Named too long until difficult to read
Summary
Good variables need to be named clearly, easy to read and ruled. Starting right will reduce Error and make code easier.
Next Episode EP4: What's the difference between Data Types in Python? Which is the correct use?
# Learn coding# Write code # High school kids # Holiday activities















































































































