Created
September 19, 2021 18:55
-
-
Save andrsGutirrz/9af93b6c1ac762b7fbab726ec4d15d96 to your computer and use it in GitHub Desktop.
Redability_2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def get_laptop_sugar_2(payload: dict) -> List: | |
return [i for i in payload.get("items", []) if | |
{"size": 16} in i.get("memory", []) and [j for j in i.get("processor", []) if | |
j.get("make", "").upper() == "RYZEN"]] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment