Get the App
SLTechnology News&Howtos  ›  Development  › 

How to write the first Python code

Shulou Source: shulou.com Published: 2022-06-03 07:33:04 10月03日 Update

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!

Tags: Code paragraph content this is plus one learning practical deeper one line interest dictionary literal practical practical easy to operate method more friends websites tables Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology vpn NVidia MariaDB OPPO Reno