11 lines
187 B
Python
11 lines
187 B
Python
inbox = {}
|
|
|
|
def Send(data, recipient):
|
|
if recipient not in inbox.keys():
|
|
inbox[recipient] = []
|
|
|
|
inbox[recipient].append(data)
|
|
|
|
def Fetch(user):
|
|
return inbox[user]
|