I hereby claim:
- I am dyspop on github.
- I am danblack (https://keybase.io/danblack) on keybase.
- I have a public key ASCJnHihWA0wrXdnJQ0MwSBUWIgHkpAY0HAErhpgl6VE1Ao
To claim this, I am signing this object:
import json | |
import requests | |
# Ask the user for the set abbreviation. | |
setabbrv = input("What's the abbreviation of the set?\n") | |
# Define the URL to look it up from | |
lookupobject = "https://api.scryfall.com/cards/search?order=name&q=set:" + setabbrv | |
# Make a get request and convert the json response to a dictionary | |
resp = json.loads(requests.get(lookupobject).text) |
shutterstock_header_core_center | |
hero_copy | |
text_paragraph_center-1 | |
feature_right-1 | |
feature_left-1 | |
<#if SHUTTERSTOCK_IMG_MUSIC_FOOTAGE_EDITORAL_PET.COUNTRY='US' || SHUTTERSTOCK_IMG_MUSIC_FOOTAGE_EDITORAL_PET.COUNTRY = 'GB' || SHUTTERSTOCK_IMG_MUSIC_FOOTAGE_EDITORAL_PET.COUNTRY = 'DE' >text_paragraph_center-2</#if> | |
<#if SHUTTERSTOCK_IMG_MUSIC_FOOTAGE_EDITORAL_PET.COUNTRY='US' || SHUTTERSTOCK_IMG_MUSIC_FOOTAGE_EDITORAL_PET.COUNTRY = 'GB'>feature_right-2</#if> | |
<#if SHUTTERSTOCK_IMG_MUSIC_FOOTAGE_EDITORAL_PET.COUNTRY='US' || SHUTTERSTOCK_IMG_MUSIC_FOOTAGE_EDITORAL_PET.COUNTRY = 'GB' || SHUTTERSTOCK_IMG_MUSIC_FOOTAGE_EDITORAL_PET.COUNTRY = 'DE' >feature_left-2</#if> | |
text_paragraph_center-3 | |
shutterstock_marketing_footer_inverse |
""" Tic tac toe code exercise with dataclasses. | |
Usage: | |
import tictactoe as ttt | |
game = ttt.Game() | |
game.make_move(x, y) | |
""" |
I hereby claim:
To claim this, I am signing this object: