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
| import requests | |
| movie_ids = [ | |
| 238, 680, 550, 185, 641, 515042, 152532, 120467, 872585, 906126, 840430 | |
| ] | |
| top_title = {"title": "", "vote_average" : 0} | |
| highly_rated_count = 0 | |
| average_rating = 0 |
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
| playing = True | |
| 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" | |
| ) | |
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 get_yearly_revenue(monthly_revenue): | |
| return monthly_revenue*12 | |
| monthly_revenue = 5500000 | |
| yearly_revenue = get_yearly_revenue(monthly_revenue) | |
| print(f"Your yearly revenue is: {yearly_revenue}$") | |