reworking the project on django

This commit is contained in:
Yamozha
2021-02-05 00:57:22 +02:00
parent 98f8b51a42
commit 3dfd277b99
8 changed files with 138 additions and 0 deletions

View 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