How can I get list of values from dict?

dict.values returns a view of the dictionary’s values, so you have to wrap it in list:

list(d.values())

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)