What type of language is 0:python?
Python is a scripting language
Reference: the scripting language (Scripting language) is a computer programming language and therefore allows developers to write programs that allow computers to listen to commands. Getting things done quickly and easily in a simple way is often an important principle in creating scripting languages, which makes scripting languages easier than a system programming language like C or Java.
Also let the scripting language have some features that are part of the scripting language:
Syntax and structure are usually relatively simple
Learning and using is usually relatively simple
Usually it is easy to modify the "interpretation" of the program as a way of running, rather than need to "compile"
Program development capacity is better than running performance
A script can automate the interaction that would otherwise require the keyboard to work. A shell script consists primarily of commands that would otherwise need to be entered at the command line, or in a text editor where users can use scripts to combine common operations into a set of serial. Mainly used to write this scripting language. Many languages have actually exceeded simple user command serial instructions and can also write more complex programs.
What is 1:idle?
is a python shell, a way to interact with a program by typing text
What is the role of 2:print ()?
Is the meaning of the output command.
What symbol of multiplication is represented in 3:python?
*
4: Why >>> print ("Well water" *8) can be executed properly? and >>> print ("Well water" +8) error?
Because the former is equivalent to printing a string eight times, the latter two strings of different types, do not add this operation.
5: How do I add a double quotation mark to a string?
Before double quotes, add backslashes! \"
Example: String at+cscs= "GSM"
expressed as "at+cscs=\" gsm\ ""
Why should we use Python3? What the hell is wrong with Python2? It seems that many programmers are still using Python2?
There are many programmers who are using Python2, but Python3 is the future of Python, just like XP and WIN7. In the series of tutorials on "0 basic beginner Learning python", the Little Turtle found that the new features in Python3 are really wonderful, and it's worth learning! You don't have to worry, if you know Python3,python2 code reading is not a problem for you!
What is the difference between direct input >>>5+8 and >>>print (5+8)? Try direct input >>> ' I love fishc.com! ' With input >>>print (' I love fishc.com! ') What is the difference? Yes, the direct input is to print the result and type to the screen, while print prints the results directly to the screen, try to see the results yourself! 6: Set environment variables so that you can easily enter Python
Python's first learning note (may be updated)