Skip to content

Instantly share code, notes, and snippets.

@alanwsmith
Created April 30, 2022 20:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alanwsmith/8f5c16b21a386dd594291a9d13842728 to your computer and use it in GitHub Desktop.
Save alanwsmith/8f5c16b21a386dd594291a9d13842728 to your computer and use it in GitHub Desktop.
a test for gwb
#!/usr/bin/env python3
stuff = {
"x": 10,
"y": 10
}
sinput = "x == y"
parts = sinput.split(" == ")
print(stuff[parts[0]])
if (stuff[parts[0]] == stuff[parts[1]]):
print("Got it")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment