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
| # BLUEPRINT | DONT EDIT | |
| playing = True | |
| while playing: | |
| a = int(input("Choose a number:\n")) | |
| b = int(input("Choose another one:\n")) | |
| operation = input( | |
| "Choose an operation:\n Options are: + , - , * or /.\n Write 'exit' to finish.\n" | |
| ) | |
| # /BLUEPRINT | |
| # ππ» YOUR CODE ππ»: |
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): | |
| yearly_revenue = monthly_revenue * 12 | |
| return yearly_revenue | |
| def get_yearly_expenses(monthly_expenses): | |
| yearly_expenses = monthly_expenses * 12 | |
| return yearly_expenses |