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
[].push([1,2,3]); |
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
from schema import Schema | |
s = Schema.from_iterable([ | |
{'key': True, 'maybe': 1}, | |
{'key': None, 'maybe': True}, | |
{'key': False}, | |
]) | |
print(s) | |
# => {'key': <Key [bool]>, 'maybe': <Maybe [bool, int]>} |
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
character_map = { | |
"a": "Atrocious", | |
"b": "Boring", | |
"c": "Corrupted", | |
"d": "Despicable", | |
"e": "Evil", | |
"f": "Fraud", | |
"g": "Gross", | |
"h": "Homicidal", | |
"i": "Idiotic", |
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
import random | |
number = random.randint(1, 1000) | |
prompt = "Guess a number: " | |
choice = -1 | |
while choice != number: | |
choice = int(input(prompt)) | |
if choice == number: | |
message ="Well done!" | |
elif choice < number: |
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
Incident Identifier: 1EDED92C-757E-41CF-95C0-3272D8969070 | |
CrashReporter Key: 30b625998ecb3adcd3ba807bca99517911a2cc1e | |
Hardware Model: iPhone4,1 | |
Process: Imgur [3672] | |
Path: /var/mobile/Applications/1C2A60D8-FB9C-4A3D-B602-2142F2EA3995/Imgur.app/Imgur | |
Identifier: imgurmobile | |
Version: 0.0.21 (1.3.3) | |
Code Type: ARM (Native) | |
Parent Process: launchd [1] |
NewerOlder