Kiểm tra tất cả các cửa sổ phiên bản python

Trong hướng dẫn này, bạn sẽ học cách kiểm tra phiên bản Python của mình trong Windows, macOS và Linux. Bạn sẽ học cách kiểm tra phiên bản Python bằng dòng lệnh và trong chính tập lệnh Python. Bạn sẽ tìm hiểu cách lấy số phiên bản của trình thông dịch mà tập lệnh của bạn sẽ sử dụng

Biết cách làm điều này là một kỹ năng quan trọng đối với bất kỳ nhà phát triển Python nào. Ví dụ: nó có thể là một kỹ năng quan trọng để khắc phục sự cố mã của bạn tốt hơn. Nếu trình thông dịch của bạn được đặt thành một phiên bản khác với phiên bản bạn mong đợi [ví dụ: Python 2 so với Python 3], khả năng xác định phiên bản của trình thông dịch có thể giúp khắc phục sự cố của bạn

Đến cuối hướng dẫn này, bạn sẽ học được

  • Cách kiểm tra phiên bản Python của trình thông dịch trong Windows, Mac OS và Linux
  • Cách kiểm tra phiên bản Python trong khi chạy tập lệnh của bạn
  • Cách truy cập các phiên bản chính, phụ và vi mô của phiên bản Python của bạn theo chương trình

Bắt đầu nào

Mục lục

  • Cách kiểm tra phiên bản Python của bạn
  • Cách kiểm tra phiên bản Python của bạn trong tập lệnh bằng sys
  • Cách kiểm tra phiên bản Python của bạn trong tập lệnh bằng nền tảng
  • Phần kết luận
  • Tài nguyên bổ sung

Cách kiểm tra phiên bản Python của bạn

Để kiểm tra phiên bản mà trình thông dịch Python của bạn đang chạy, chúng ta có thể sử dụng lệnh phiên bản trên lệnh

# Checking the Python Version Number Programatically
import sys

if sys.version_info.major == 3 and sys.version_info.minor >= 6:
    print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
else:
    print['Sadly, no f-strings!']

# Returns:
# You are running Python 3.8!
3. Bởi vì việc truy cập dấu nhắc dòng lệnh hoặc thiết bị đầu cuối khác nhau giữa các hệ thống, phần hướng dẫn này được phân chia trên các hệ điều hành khác nhau có sẵn cho bạn

Trong các phần sau, bạn sẽ tìm hiểu cách kiểm tra phiên bản Python của mình bằng Windows 10, Windows 7, macOS và Linux

Cách kiểm tra phiên bản Python của bạn trên Windows 10

Trong Windows 10, chúng tôi có thể sử dụng PowerShell để kiểm tra phiên bản Python mà chúng tôi đang chạy. Để truy cập PowerShell, chỉ cần làm theo các bước sau

  1. Nhấn
    # Checking the Python Version Number Programatically
    import sys
    
    if sys.version_info.major == 3 and sys.version_info.minor >= 6:
        print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
    else:
        print['Sadly, no f-strings!']
    
    # Returns:
    # You are running Python 3.8!
    4
  2. gõ powershell
  3. Nhấn
    # Checking the Python Version Number Programatically
    import sys
    
    if sys.version_info.major == 3 and sys.version_info.minor >= 6:
        print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
    else:
        print['Sadly, no f-strings!']
    
    # Returns:
    # You are running Python 3.8!
    5 hoặc nhấn
    # Checking the Python Version Number Programatically
    import sys
    
    if sys.version_info.major == 3 and sys.version_info.minor >= 6:
        print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
    else:
        print['Sadly, no f-strings!']
    
    # Returns:
    # You are running Python 3.8!
    6

Khi PowerShell được mở, bạn có thể truy cập phiên bản Python mà trình thông dịch của bạn đang chạy bằng cách viết các lệnh hiển thị bên dưới

LệnhMô tảĐầu ra mẫu
# Checking the Python Version Number Programatically
import sys

if sys.version_info.major == 3 and sys.version_info.minor >= 6:
    print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
else:
    print['Sadly, no f-strings!']

# Returns:
# You are running Python 3.8!
7Thông tin rút gọn về phiên bản Python
# Checking the Python Version Number Programatically
import sys

if sys.version_info.major == 3 and sys.version_info.minor >= 6:
    print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
else:
    print['Sadly, no f-strings!']

# Returns:
# You are running Python 3.8!
8
# Checking the Python Version Number Programatically
import sys

if sys.version_info.major == 3 and sys.version_info.minor >= 6:
    print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
else:
    print['Sadly, no f-strings!']

# Returns:
# You are running Python 3.8!
0Thông tin rút gọn về phiên bản Python
# Checking the Python Version Number Programatically
import sys

if sys.version_info.major == 3 and sys.version_info.minor >= 6:
    print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
else:
    print['Sadly, no f-strings!']

# Returns:
# You are running Python 3.8!
8
# Checking the Python Version Number Programatically
import sys

if sys.version_info.major == 3 and sys.version_info.minor >= 6:
    print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
else:
    print['Sadly, no f-strings!']

# Returns:
# You are running Python 3.8!
2Thông tin mở rộng về phiên bản Python
# Checking the Python Version Number Programatically
import sys

if sys.version_info.major == 3 and sys.version_info.minor >= 6:
    print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
else:
    print['Sadly, no f-strings!']

# Returns:
# You are running Python 3.8!
3Các lệnh khác nhau để kiểm tra phiên bản Python của bạn trên Windows 10

Cách kiểm tra phiên bản Python của bạn trên Windows 7

Trên Windows 7 trở về trước, bạn có thể sử dụng dấu nhắc lệnh để kiểm tra phiên bản Python của mình. Để làm điều này, bạn có thể chạy các bước sau

  1. Nhấn
    # Checking the Python Version Number Programatically
    import sys
    
    if sys.version_info.major == 3 and sys.version_info.minor >= 6:
        print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
    else:
        print['Sadly, no f-strings!']
    
    # Returns:
    # You are running Python 3.8!
    4 +
    # Checking the Python Version Number Programatically
    import sys
    
    if sys.version_info.major == 3 and sys.version_info.minor >= 6:
        print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
    else:
        print['Sadly, no f-strings!']
    
    # Returns:
    # You are running Python 3.8!
    5
  2. Loại
    # Checking the Python Version Number Programatically
    import sys
    
    if sys.version_info.major == 3 and sys.version_info.minor >= 6:
        print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
    else:
        print['Sadly, no f-strings!']
    
    # Returns:
    # You are running Python 3.8!
    6
  3. Nhấn
    # Checking the Python Version Number Programatically
    import sys
    
    if sys.version_info.major == 3 and sys.version_info.minor >= 6:
        print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
    else:
        print['Sadly, no f-strings!']
    
    # Returns:
    # You are running Python 3.8!
    5 hoặc nhấn
    # Checking the Python Version Number Programatically
    import sys
    
    if sys.version_info.major == 3 and sys.version_info.minor >= 6:
        print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
    else:
        print['Sadly, no f-strings!']
    
    # Returns:
    # You are running Python 3.8!
    6

Kiểm tra bảng bên dưới để biết các loại lệnh khác nhau mà bạn có thể chạy để kiểm tra phiên bản Pyhton của mình trên Windows 7

LệnhMô tảĐầu ra mẫu
# Checking the Python Version Number Programatically
import sys

if sys.version_info.major == 3 and sys.version_info.minor >= 6:
    print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
else:
    print['Sadly, no f-strings!']

# Returns:
# You are running Python 3.8!
7Thông tin rút gọn về phiên bản Python
# Checking the Python Version Number Programatically
import sys

if sys.version_info.major == 3 and sys.version_info.minor >= 6:
    print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
else:
    print['Sadly, no f-strings!']

# Returns:
# You are running Python 3.8!
8
# Checking the Python Version Number Programatically
import sys

if sys.version_info.major == 3 and sys.version_info.minor >= 6:
    print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
else:
    print['Sadly, no f-strings!']

# Returns:
# You are running Python 3.8!
0Thông tin rút gọn về phiên bản Python
# Checking the Python Version Number Programatically
import sys

if sys.version_info.major == 3 and sys.version_info.minor >= 6:
    print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
else:
    print['Sadly, no f-strings!']

# Returns:
# You are running Python 3.8!
8
# Checking the Python Version Number Programatically
import sys

if sys.version_info.major == 3 and sys.version_info.minor >= 6:
    print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
else:
    print['Sadly, no f-strings!']

# Returns:
# You are running Python 3.8!
2Thông tin mở rộng về phiên bản Python
# Checking the Python Version Number Programatically
import sys

if sys.version_info.major == 3 and sys.version_info.minor >= 6:
    print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
else:
    print['Sadly, no f-strings!']

# Returns:
# You are running Python 3.8!
3Các lệnh khác nhau để kiểm tra phiên bản Python của bạn trên Windows 7

Trong phần tiếp theo, bạn sẽ tìm hiểu cách kiểm tra phiên bản Python của mình trên macOS hoặc Linux

Cách kiểm tra phiên bản Python của bạn trên macOS / Linux

Trong macOS và Linux, bạn có thể sử dụng ứng dụng Terminal để kiểm tra phiên bản Python của mình. Trên macOS, điều này có thể được thực hiện bằng cách thực hiện theo các bước bên dưới

  1. Mở Spotlight bằng cách nhấn
    # Checking Your Python Version with platform
    import platform
    print[platform.python_version[]]
    
    # Returns: 3.8.5
    5 +
    # Checking Your Python Version with platform
    import platform
    print[platform.python_version[]]
    
    # Returns: 3.8.5
    6
  2. Nhập vào Terminal và nhấn
    # Checking the Python Version Number Programatically
    import sys
    
    if sys.version_info.major == 3 and sys.version_info.minor >= 6:
        print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
    else:
        print['Sadly, no f-strings!']
    
    # Returns:
    # You are running Python 3.8!
    6

Vì một số phiên bản macOS được cài đặt sẵn Python 2 theo mặc định nên có khả năng lệnh

# Checking the Python Version Number Programatically
import sys

if sys.version_info.major == 3 and sys.version_info.minor >= 6:
    print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
else:
    print['Sadly, no f-strings!']

# Returns:
# You are running Python 3.8!
3 có thể đề cập đến Python 2. Do đó, bạn có thể cần chạy
# Checking Your Python Version with platform
import platform
print[platform.python_version[]]

# Returns: 3.8.5
9 để tham khảo phiên bản Python đó

Bảng bên dưới chia nhỏ các lệnh khác nhau để chạy trên macOS và Linux để có phiên bản Python

LệnhMô tảĐầu ra mẫu
# Checking the Python Version Number Programatically
import sys

if sys.version_info.major == 3 and sys.version_info.minor >= 6:
    print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
else:
    print['Sadly, no f-strings!']

# Returns:
# You are running Python 3.8!
20Thông tin rút gọn về phiên bản Python
# Checking the Python Version Number Programatically
import sys

if sys.version_info.major == 3 and sys.version_info.minor >= 6:
    print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
else:
    print['Sadly, no f-strings!']

# Returns:
# You are running Python 3.8!
8
# Checking the Python Version Number Programatically
import sys

if sys.version_info.major == 3 and sys.version_info.minor >= 6:
    print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
else:
    print['Sadly, no f-strings!']

# Returns:
# You are running Python 3.8!
22Thông tin rút gọn về phiên bản Python
# Checking the Python Version Number Programatically
import sys

if sys.version_info.major == 3 and sys.version_info.minor >= 6:
    print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
else:
    print['Sadly, no f-strings!']

# Returns:
# You are running Python 3.8!
8
# Checking the Python Version Number Programatically
import sys

if sys.version_info.major == 3 and sys.version_info.minor >= 6:
    print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
else:
    print['Sadly, no f-strings!']

# Returns:
# You are running Python 3.8!
24Thông tin mở rộng về phiên bản Python
# Checking the Python Version Number Programatically
import sys

if sys.version_info.major == 3 and sys.version_info.minor >= 6:
    print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
else:
    print['Sadly, no f-strings!']

# Returns:
# You are running Python 3.8!
3
# Checking the Python Version Number Programatically
import sys

if sys.version_info.major == 3 and sys.version_info.minor >= 6:
    print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
else:
    print['Sadly, no f-strings!']

# Returns:
# You are running Python 3.8!
7Thông tin rút gọn về phiên bản Python
# Checking the Python Version Number Programatically
import sys

if sys.version_info.major == 3 and sys.version_info.minor >= 6:
    print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
else:
    print['Sadly, no f-strings!']

# Returns:
# You are running Python 3.8!
27
# Checking the Python Version Number Programatically
import sys

if sys.version_info.major == 3 and sys.version_info.minor >= 6:
    print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
else:
    print['Sadly, no f-strings!']

# Returns:
# You are running Python 3.8!
0Thông tin rút gọn về phiên bản Python
# Checking the Python Version Number Programatically
import sys

if sys.version_info.major == 3 and sys.version_info.minor >= 6:
    print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
else:
    print['Sadly, no f-strings!']

# Returns:
# You are running Python 3.8!
27Các lệnh khác nhau để kiểm tra phiên bản Python của bạn trên macOS và Linux

Trong các phần tiếp theo, bạn sẽ tìm hiểu cách kiểm tra phiên bản Python mà mã của bạn đang chạy trong tập lệnh bằng thư viện

# Checking the Python Version Number Programatically
import sys

if sys.version_info.major == 3 and sys.version_info.minor >= 6:
    print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
else:
    print['Sadly, no f-strings!']

# Returns:
# You are running Python 3.8!
30 và
# Checking the Python Version Number Programatically
import sys

if sys.version_info.major == 3 and sys.version_info.minor >= 6:
    print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
else:
    print['Sadly, no f-strings!']

# Returns:
# You are running Python 3.8!
31

Cách kiểm tra phiên bản Python của bạn trong tập lệnh bằng sys

Thư viện

# Checking the Python Version Number Programatically
import sys

if sys.version_info.major == 3 and sys.version_info.minor >= 6:
    print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
else:
    print['Sadly, no f-strings!']

# Returns:
# You are running Python 3.8!
30 cung cấp một số cách khác nhau để bạn có thể truy cập phiên bản Python mà bạn đang chạy

Một trong những cách đơn giản nhất là in ra thuộc tính

# Checking the Python Version Number Programatically
import sys

if sys.version_info.major == 3 and sys.version_info.minor >= 6:
    print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
else:
    print['Sadly, no f-strings!']

# Returns:
# You are running Python 3.8!
33. Điều này trả về thông tin giống như lệnh
# Checking the Python Version Number Programatically
import sys

if sys.version_info.major == 3 and sys.version_info.minor >= 6:
    print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
else:
    print['Sadly, no f-strings!']

# Returns:
# You are running Python 3.8!
34 được hiển thị ở trên. Hãy cùng xem

# Checking the Python Version Number Programatically
import sys

if sys.version_info.major == 3 and sys.version_info.minor >= 6:
    print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
else:
    print['Sadly, no f-strings!']

# Returns:
# You are running Python 3.8!
9

Bởi vì điều này trả về một chuỗi nhiều dòng, nó không thể truy cập ngay lập tức. Ví dụ: nếu bạn muốn kiểm tra xem tập lệnh có đang chạy trong Python 3 hay không. 6 trở lên [ví dụ: để sử dụng chuỗi f], bạn sẽ gặp khó khăn khi phân tích cú pháp này

Thay vì sử dụng thuộc tính

# Checking the Python Version Number Programatically
import sys

if sys.version_info.major == 3 and sys.version_info.minor >= 6:
    print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
else:
    print['Sadly, no f-strings!']

# Returns:
# You are running Python 3.8!
33, chúng ta có thể sử dụng thuộc tính
# Checking the Python Version Number Programatically
import sys

if sys.version_info.major == 3 and sys.version_info.minor >= 6:
    print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
else:
    print['Sadly, no f-strings!']

# Returns:
# You are running Python 3.8!
36 để quá trình này tốt hơn. Nó trả về một bộ có tên cung cấp tất cả thông tin theo cách dễ truy cập

Tuple trả về có các thuộc tính sau.

# Checking the Python Version Number Programatically
import sys

if sys.version_info.major == 3 and sys.version_info.minor >= 6:
    print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
else:
    print['Sadly, no f-strings!']

# Returns:
# You are running Python 3.8!
37. Hãy xem cách chúng tôi có thể kiểm tra phiên bản chính và phụ để xem liệu chúng tôi có thể sử dụng Python f-strings hay không

# Checking the Python Version Number Programatically
import sys

if sys.version_info.major == 3 and sys.version_info.minor >= 6:
    print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
else:
    print['Sadly, no f-strings!']

# Returns:
# You are running Python 3.8!

Trong đoạn mã trên, chúng tôi đã kiểm tra xem hệ thống của chúng tôi có khả năng chạy Python f-strings hay không. Trong phần tiếp theo, bạn sẽ học cách sử dụng thư viện

# Checking the Python Version Number Programatically
import sys

if sys.version_info.major == 3 and sys.version_info.minor >= 6:
    print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
else:
    print['Sadly, no f-strings!']

# Returns:
# You are running Python 3.8!
31 để kiểm tra phiên bản Python của mình

Cách kiểm tra phiên bản Python của bạn trong tập lệnh bằng nền tảng

Thư viện Python

# Checking the Python Version Number Programatically
import sys

if sys.version_info.major == 3 and sys.version_info.minor >= 6:
    print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
else:
    print['Sadly, no f-strings!']

# Returns:
# You are running Python 3.8!
31 cung cấp một số phương thức hữu ích rất giống với những phương thức được cung cấp bởi thư viện
# Checking the Python Version Number Programatically
import sys

if sys.version_info.major == 3 and sys.version_info.minor >= 6:
    print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
else:
    print['Sadly, no f-strings!']

# Returns:
# You are running Python 3.8!
30. Ví dụ: hàm
# Checking the Python Version Number Programatically
import sys

if sys.version_info.major == 3 and sys.version_info.minor >= 6:
    print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
else:
    print['Sadly, no f-strings!']

# Returns:
# You are running Python 3.8!
41 có thể được sử dụng để trả về một chuỗi chứa phiên bản Python

Hãy xem cách chúng ta có thể nhập thư viện và trả về một chuỗi chứa phiên bản Python hiện tại của chúng ta

# Checking Your Python Version with platform
import platform
print[platform.python_version[]]

# Returns: 3.8.5

Tương tự như thư viện

# Checking the Python Version Number Programatically
import sys

if sys.version_info.major == 3 and sys.version_info.minor >= 6:
    print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
else:
    print['Sadly, no f-strings!']

# Returns:
# You are running Python 3.8!
30, thư viện
# Checking the Python Version Number Programatically
import sys

if sys.version_info.major == 3 and sys.version_info.minor >= 6:
    print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
else:
    print['Sadly, no f-strings!']

# Returns:
# You are running Python 3.8!
31 cung cấp cách trích xuất một bộ. Không giống như thư viện
# Checking the Python Version Number Programatically
import sys

if sys.version_info.major == 3 and sys.version_info.minor >= 6:
    print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
else:
    print['Sadly, no f-strings!']

# Returns:
# You are running Python 3.8!
30, bộ dữ liệu được trả về không phải là bộ dữ liệu được đặt tên và mỗi mục trong bộ dữ liệu là một chuỗi, không phải số nguyên. Hãy xem xét một ví dụ

# Checking the Python Version Number Programatically
import sys

if sys.version_info.major == 3 and sys.version_info.minor >= 6:
    print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
else:
    print['Sadly, no f-strings!']

# Returns:
# You are running Python 3.8!
2

Phần kết luận

Trong hướng dẫn này, bạn đã học cách kiểm tra phiên bản Python trên Windows, macOS và Linux. Bạn cũng đã học cách kiểm tra phiên bản mà mã của bạn đang chạy trong tập lệnh của mình bằng cả thư viện

# Checking the Python Version Number Programatically
import sys

if sys.version_info.major == 3 and sys.version_info.minor >= 6:
    print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
else:
    print['Sadly, no f-strings!']

# Returns:
# You are running Python 3.8!
30 và
# Checking the Python Version Number Programatically
import sys

if sys.version_info.major == 3 and sys.version_info.minor >= 6:
    print[f'You are running Python {sys.version_info.major}.{sys.version_info.minor}!']
else:
    print['Sadly, no f-strings!']

# Returns:
# You are running Python 3.8!
31. Khả năng kiểm tra phiên bản Python bạn đang sử dụng cho phép bạn khắc phục sự cố mã của mình tốt hơn và xác định mọi sự cố do phiên bản gây ra

Phiên bản Python nào được cài đặt?

Trên Windows. Khởi chạy PowerShell và gõ “python” vào Terminal. Trên macOS. Điều hướng đến Ứng dụng > Tiện ích > Thiết bị đầu cuối và nhập “python. ” Nếu bạn đã cài đặt Python 3, hãy nhập “python3. ” Trên Linux. Mở Terminal và gõ “python” hoặc “python3,” tùy thuộc vào những gì bạn đã cài đặt trên máy

Phiên bản Python nào đi kèm với Windows 10?

Bạn nên cài đặt phiên bản Python mới nhất, đó là 3. 7 .

Chủ Đề