Python Forum

Full Version: Searching through a list of dictionaries with a condition.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I get the correct output with that code. How exactly are you running it?
My bad, I never properly removed the newline characters as I am using a real dataset (a file), as opposed to a constructed one as in the example I gave. Thanks for your patience and guidance.
Pages: 1 2