Bazı Bilgiler
Açık olan portu kapatma
sudo lsof -t -i tcp:8000 | xargs kill -9
List of unique dictionaries
https://stackoverflow.com/questions/11092511/python-list-of-unique-dictionaries
Dictionary deki istediğimiz bir field in toplamını almak
myLIst = [
{'silver': 100, 'gold': 10},
{'silver': 5, 'gold': 120},
{'silver': 10, 'gold': 150},
{'silver': 50, 'gold': 50}
]
sum(item['gold'] for item in myLIst)
VPN
Last updated