map function 3

This commit is contained in:
Mert Gör 🇹🇷 2023-06-01 16:28:44 +03:00
parent 504df882f5
commit a957872651
No known key found for this signature in database
GPG Key ID: 2100A876D55B39B9

View File

@ -0,0 +1,2 @@
names = ['ali', 'veli', 'selami', 'ayşe', 'fatma']
print(max(map(len, names)))