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 re | |
| import sys | |
| class ExpressionError(Exception): | |
| def __init__(self): | |
| super().__init__() | |
| def __str__(self): | |
| return "Error" | |
| def add(a, b): |
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 time | |
| rus = { | |
| '' | |
| } | |
| par = { | |
| "lang":"ru", | |
| "lat": 53, |
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
| alph = [ | |
| "ABCDEFGHIJKLMNOPQRSTUVWXYZ", | |
| "abcdefghijklmopqrstuvwxyz", | |
| ] | |
| text = input("Enter the text\n>>") | |
| shift = input("Enter the shift\n>>") | |
| try: |
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
| class Employe: | |
| spn = 1 | |
| def __init__(self,n,sn,spn): | |
| self.name = n | |
| self.surname = sn | |
| self.spn = spn #rank | |
| def __del__(self): | |
| print("Good bye, mr. ", self.name," ",self.surname) | |
| emps = [] | |
| counter = 1 |
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
| #include <iostream> | |
| #include <vector> | |
| #include "petshop.h" | |
| #include <ctime> | |
| #include <iterator> | |
| using namespace std; | |
| static int money = 100; |