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 time import time | |
from pprint import pprint | |
def postTweet(userid, tweet): | |
""" | |
""" | |
tweets.append({"message": tweet, "userid": userid, "creationTime": time()}) | |
def follow(follower, followee): | |
""" |
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
keyboard_layouts = { | |
"qwerty": ['qwertyuiop', 'asdfghjkl', 'zxcvbnm'], | |
"qwertz": ['qwertzuiop', 'asdfghjk', 'yxcvbnm'], | |
"azerty": ['azertyuiop', 'qsdfghjkl', 'wxcvbnm'], | |
"qzerty": ['qzertyuiop', 'asdfghjkl', 'wxcvbnm'], | |
"dvorak": ['pyfgcrl', 'aoeuidhtns', 'qjkxbmwvz'], | |
"colemak": ['qwfpgjluy', 'arstdhneio', 'zxcvbkm'], | |
"workman": ['qdrwbjfup', 'ashtgyneol', 'zxmcvkl'], | |
} |