happy New Year. python It's been about two months for the first time. It's a big deal, so I thought I'd put what I learned outside, and I'm going to put together Python every day from now on.
** 1. One of the programming languages **
Python is one of the programming languages. A programming language is a word that can be used to give various commands to a personal computer. HTMLCSS, Ruby, Swift, etc. Just as there are many foreign languages like English, Japanese and Chinese, there are many programming languages.
● HTML and CSS can display characters and images on the screen. You can create the visible part of a so-called web page.
● Ruby makes it easy to create apps
● Swift makes it easier to create Iphone apps
One of these languages is Python.
** 2. What can I do **
You can also make an app. You can also play with Excel. You can make AI. The feature of Python is that there are so many things that can be done.
Among them, the popularity of Python has been increasing recently because AI can be created.
** AI = artificial intelligence. ** **
Machines that do various things with voices like "OK! Google" and "Hey, Siri" have become commonplace because the ability of machines to recognize voice has become extremely high. To put it in a very easy-to-understand manner, this recognizing power is called AI.
As mentioned above, it's a language, so it's best to learn while using it. However, what is different from languages such as English is that you don't have to speak. In other words, if you don't understand, you can cheat as much as you want. I did it
** 1. Know how to write **
When you start programming, you practice typing commands in an editor (like a blackboard where you write the programming language) to display "Hello world!" On your computer screen.
print("Hello world")
When you enter
PC
Hello world!
Will return. I think it's probably because it's a beginner, but in terms of language learning, it's the stage where you're teaching how to make a voice, so don't worry about it.
It is instructed by writing "print the characters and values written in ()!". If I can think of this command, I will grow one step personally.
** 2. Know the insanely basic concept **
Isn't "aiueo" a letter? Isn't "1, 2, 3, 4" a number?
What do you take for granted? However, programming has to be separated between the two.
Specifically
print("Hello World!"")
To
print(Hello World!)
If you write
SyntaxError: invalid syntax
The error came back and the PC didn't ask me.
Do you see the difference? ?? There is no "" "below.
This "" "is a signal to tell the PC that what is written in it is a character. So if you don't write it, it will return an error. It's a strict book.
By the way, the numbers are
print(4)
You don't have to write "" ". It's not a letter. You can't use it as a number, absolutely.
4
If you do it properly, you will come back as above.
Other minimum ● How to calculate ● Meaning of variables ● Type ● If statement ● for sentence ● Function (this may be done later)
I think it's probably useless if you don't remember.
The first step is to grasp the concept that will become commonplace if you start it like this. You can study here on a site called Progate, so let's do it. Again, no matter how much you cheat, if you don't understand this, how to cheat will be a mystery ~
** 3. What are you trying to do **
It is a royal road. Programming is a word for making something, so let's make something once you understand the basics. I will summarize this area again at a later date.
It was a bit of a rush, but I tried to summarize it in the introductory part. I'll do my best tomorrow, too
Recommended Posts