Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import pandas as pd
- n_users = 50000
- revenue_per_user = 10
- var_costs = pd.Series({
- 'marketing': 200000,
- 'servers': 200000
- })
- fixed_costs = pd.Series({
- 'salaries': 300000,
- 'rent': 150000
- })
- revenue = n_users * revenue_per_user
- total_costs = var_costs.sum() + fixed_costs.sum()
- print('Выручка:', revenue)
- print('Затраты:', total_costs)
- print('Итого:', revenue - total_costs)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement