money = int(input('Ввод суммы: ')) per_cent = {'ТКБ': 5.6, 'СКБ': 5.9, 'ВТБ': 4.28, 'СБЕР': 4.0} deposit = [] for value in per_cent.values(): result = int(money / 100 * value) deposit.append(result) #deposit.append(per_cent['ТКБ']) #deposit.append(per_cent['СКБ']) #deposit.append(per_cent['ВТБ']) #deposit.append(per_cent['СБЕР']) #deposit = [5600, 5900, 4280, 4000] print('Максимальная сумма, которую вы можете заработать — ', max(deposit))
-
Notifications
You must be signed in to change notification settings - Fork 0
ludalife/module12.7.3
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published