reworking the project on django
This commit is contained in:
7
old/Server/databasefornow.py
Normal file
7
old/Server/databasefornow.py
Normal file
@ -0,0 +1,7 @@
|
||||
userNames = {"1":"boyan", "2":"nikola"}
|
||||
usersCoins = {"1":"200", "2":"100"}
|
||||
|
||||
def checkBalance(ID):
|
||||
userName = userNames[f"{ID}"]
|
||||
userCoins = usersCoins[f"{ID}"]
|
||||
return userName, userCoins
|
Reference in New Issue
Block a user