Created
July 18, 2023 09:23
-
-
Save 219053/ccfda86eecd6231c8092ae77a966fbb9 to your computer and use it in GitHub Desktop.
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
per_cent = {'ТКБ': 5.6, 'СКБ': 5.9, 'ВТБ': 4.28, 'СБЕР': 4.0} | |
money = int(input("Размер вклада")) | |
deposit = [] | |
for key in per_cent.keys(): | |
print('Процентная ставка->', per_cent[key]) | |
deposit.append(per_cent[key] * money / 100) | |
maximum = max(deposit) | |
print( "Прибыль в год =", sorted(deposit)) | |
print("Максимальная сумма, которую вы можете заработать =", (maximum)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment