From 86e0bfe0539c4479fb529ed35d16188809000788 Mon Sep 17 00:00:00 2001 From: Maimoona80 <95375425+Maimoona80@users.noreply.github.com> Date: Fri, 15 Jul 2022 12:44:09 +0500 Subject: [PATCH] Update deck_of_cards.py --- rest-api/python/deck_of_cards.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rest-api/python/deck_of_cards.py b/rest-api/python/deck_of_cards.py index 48bd39c..619828e 100644 --- a/rest-api/python/deck_of_cards.py +++ b/rest-api/python/deck_of_cards.py @@ -36,3 +36,6 @@ print(response.text) # Get the deck_id from the returned JSON +deck = response.json() +deck_id = deck['3dugteps2r87'] +print(deck_id)