Python for super beginners Python for super beginners # Easy to get angry

environment windows7 (I want a Mac Book Pro 16inch) Visual Studio Code chrome

This article is written for beginners in programming and Python.

Difficult Pro terminology

As soon as you start learning Python, look at Progate, dot install, etc. and write code, you will see a series of "???". One of them is that Pro terms and how to write code are Pro, so there are some difficult points for beginners, and if you do not clear them first, the learning speed will not increase (was).

  1. Variable name

confuse.py


str=str(123456)
print(str)
#=To the left of is the name str (variable name).=To the right of is the name of the str function (like a conversion label).

The str to the right of = is an abbreviation for string, and in Python it is a rule that numbers (called numbers) are converted to characters (called strings) = every memorization. In this neighborhood, it is called the str function. On the other hand, the "str" to the left of = is just a name. It seems that I used the name (variable name) "str" to explain the str function, but I'm afraid this is because some beginners don't know whether it is a function or a variable name. (Are you afraid? Afraid? In any case, I haven't heard the word acorn recently ...)

Let's go next.

confuse.py


for tool_item in tool_items:
#Next to for is the singular. Plural after in.

This can be understood as the learning progresses, but at the beginning it was in a state of "What are you talking about !! ??". If you look closely, "tool_item" is the singular form of the tool item, and "tool_items" is the plural form. The name "tool_items (plural)" is a collection of several tool items, such as "Master! Let's put them together!", And that is "tool_item (singular)". It is a form extracted one by one in the variable.

That's it. I will add it at any time by editing.

Recommended Posts

Python for super beginners Python for super beginners # Easy to get angry
Easy understanding of Python for & arrays (for super beginners)
Python #function 2 for super beginners
Python for super beginners Python #functions 1
Python #list for super beginners
~ Tips for beginners to Python ③ ~
How to convert Python # type for Python super beginners: str
Python # How to check type and type for super beginners
Python for super beginners Python # dictionary type 1 for super beginners
Python #index for super beginners, slices
Python #len function for super beginners
Python #Hello World for super beginners
Python for super beginners Python # dictionary type 2 for super beginners
How to convert Python # type for Python super beginners: int, float
Let's put together Python for super beginners
Python techniques for those who want to get rid of beginners
Memo # 4 for Python beginners to read "Detailed Python Grammar"
The fastest way for beginners to master Python
Memo # 3 for Python beginners to read "Detailed Python Grammar"
Memo # 1 for Python beginners to read "Detailed Python Grammar"
python textbook for beginners
Try to calculate RPN in Python (for beginners)
Memo # 2 for Python beginners to read "Detailed Python Grammar"
Memo # 7 for Python beginners to read "Detailed Python Grammar"
Introduction to Programming (Python) TA Tendency for beginners
Installing TensorFlow on Windows Easy for Python beginners
Memo # 6 for Python beginners to read "Detailed Python Grammar"
How to make Python faster for beginners [numpy]
OpenCV for Python beginners
Memo # 5 for Python beginners to read "Detailed Python Grammar"
About Python external module import <For super beginners>
[For beginners] How to use say command in python!
[For beginners] How to study Python3 data analysis exam
Learning flow for Python beginners
Python3 environment construction (for beginners)
3 Reasons Beginners to Start Python
Basic Python grammar for beginners
100 Pandas knocks for Python beginners
Introduction to Python For, While
[For beginners] Web scraping with Python "Access the URL in the page to get the contents"
Tips for Python beginners to use Scikit-image examples for themselves 4 Use GUI
How to learn TensorFlow for liberal arts and Python beginners
Tips for coding short and easy to read in Python
[For beginners] Script within 10 lines (4. Connection from python to sqlite3)
Tips for Python beginners to use the Scikit-image example for themselves
[Python] Introduction to graph creation using coronavirus data [For beginners]
Easy to use E-Cell 4 Beginner's edition
Easy way to customize Python import
Link to get started with python
Python Exercise for Beginners # 2 [for Statement / While Statement]
How to get the Python version
How to get started with Python
<For beginners> python library <For machine learning>
Easy to use Jupyter notebook (Python3.5)
Beginners use Python for web scraping (1)
[Python] Reasons for overriding using super ()
Run unittests in Python (for beginners)
Easy Python to learn while writing
Beginners use Python for web scraping (4) ―― 1
An introduction to Python for non-engineers
python beginners tried to find out