Every API request must have an associated bearer token that will be provided.
Requests made without this authorisation token will return a 403 Status
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 | |
| class LicenseValidationError(Exception): | |
| '''This exception is raised when license validation fails''' | |
| pass | |
| class LicenseActivationError(Exception): | |
| '''This exception is raised when license activation fails''' |
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 sys | |
| ''' | |
| Write a program which accepts a sequence of comma-seperated | |
| numbers from console and generate a list and a tuple which | |
| contains every number | |
| ''' | |
| def create_list(data): |
NewerOlder