We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
new_kids_in_town = [Person('Chris', 18), Person('Danny', 16), Person('John', 17)] people += new_kids_in_town # Also works: people = people.concat(new_kids_in_town) teenagers = people.where(lambda p: 20 >= p.age >= 13) danny = teenagers.first(lambda t: t.name == 'Danny') # <Person name="Danny" age="16"> oldest_teen = teenagers.last() # <Person name="Chris" age="18">
.last() method doesn't return max age but the last in the list, right? Should return "John,17 yo" then.
The text was updated successfully, but these errors were encountered:
You are right, Thanks a lot.
Sorry, something went wrong.
No branches or pull requests
.last() method doesn't return max age but the last in the list, right? Should return "John,17 yo" then.
The text was updated successfully, but these errors were encountered: