a = int(input())
b = int(input())
c = int(input())
print(a + b + c)
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 luigi | |
| class ExtractData(luigi.Task): | |
| output_path = luigi.Parameter(default="extracted_data.txt") | |
| def output(self): | |
| return luigi.LocalTarget(self.output_path) | |
| def run(self): | |
| sample_data = ["hello", "world", "luigi", "task", "example"] |
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 | |
| import contextlib | |
| API_BASE = 'http://www.deezer.com/ajax/gw-light.php' | |
| session = requests.Session() | |
| def api_call(token, method, json=None): | |
| params = {'api_version': "1.0", 'api_token': token,'input': '3', 'method': method} | |
| req = session.post(API_BASE, params=params, json=json) | |
| return req.json() |