Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def print_budget_in_rubles(dollars):
- rubles = dollars * rubles_for_dollar
- print('Бюджет: {:.2f} млн ₽'.format(rubles))
- # (англ. rubles for dollar, "рублей за доллар").
- rubles_for_dollar = 67.01
- print('Титаник')
- print_budget_in_rubles(200.0)
- print()
- print('Гладиатор')
- print_budget_in_rubles(103.0)
Advertisement
Add Comment
Please, Sign In to add comment