This file contains hidden or 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
| # BLUEPRINT | DONT EDIT | |
| import requests | |
| movie_ids = [ | |
| 238, 680, 550, 185, 641, 515042, 152532, 120467, 872585, 906126, 840430 | |
| ] | |
| # /BLUEPRINT |
This file contains hidden or 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
| def run_operation(a,b,operation): | |
| if operation == 'exit': | |
| pass | |
| elif operation == '+': | |
| return a+b | |
| elif operation == '-': | |
| return a-b | |
| elif operation == '*': | |
| return a*b | |
| elif operation == '/': |
This file contains hidden or 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
| # 👇🏻 YOUR CODE 👇🏻: | |
| # /YOUR CODE | |
| def get_yearly_revenue(monthly_revenue): | |
| return monthly_revenue*12 | |
| def get_yearly_expenses(monthly_expenses): | |
| return monthly_expenses*12 | |
| def get_tax_amount(profit): | |
| if profit >100000: |