How to write the first Python code
This article focuses on "how to write the first Python code", interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Let the editor take you to learn how to write the first Python code.
My zero paragraph
This is a hyperlink: python.org this is a quote:
Python is a programming language that lets you work more quickly and integrate your systems more effectively.
Press Ctrl + D or enter exit to exit the python interactive interpreter
My first line says
List list
Tuple tuple
Dictionary dict
Set set
Literals int, float, string
My first paragraph
Next I will add a piece of python code:
From datetime import datetimedef main (): print (f "Hello world! Now is {datetime.now ()}") if _ _ name__ = = "_ _ main__": main () my second paragraph
Next, I will add a table: | Mainstream | version | |-- | | 3.10 | beta1 | | 3.9 | 3.9.5 | | 3.8 | 3.8.10 | | 3.7 | 3.7.10 | | 3.6.13 |
My sub paragraph
This is content
My subsub paragraph
Hello world!
At this point, I believe you have a deeper understanding of "how to write the first Python code". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!