Создание Переменной списка PythonЭтот пример показывает, как создать переменную list, чтобы передать функции Python®.
students = py.list({'Robert','Mary','Joseph'})
students =
Python list with no properties.
['Robert', 'Mary', 'Joseph']
Отобразите количество студентов в списке.
n = py.len(students)
n =
Python int with properties:
denominator: [1×1 py.int]
imag: [1×1 py.int]
numerator: [1×1 py.int]
real: [1×1 py.int]
3