python-CSD-kursu/python-temel/map.list.max.py

9 lines
90 B
Python
Raw Normal View History

2023-06-01 16:35:28 +03:00
a = [
[1, 2, 3, 4, 5],
[5, 6],
[7, 8, 9],
[10]
]
print(max(map(len, a)))