This file contains 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
# Enter your code here. Read input from STDIN. Print output to STDOUT | |
import sys | |
number = sys.stdin.readline() | |
number = int( number) | |
dict_tel = {} | |
# dict_tel = {name1: tel1, name2:tel2, ...} | |
for i in range(number): |
This file contains 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
#!/bin/python3 | |
import os | |
import sys | |
import time | |
import math | |
from itertools import combinations | |
def handshake(n): | |
# |
This file contains 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
#This script creates dictionary, where we have mobile operator and mobile code | |
import re | |
#country_code_ukraine = '+380' | |
string_may_be = '38066-44-89-555aaa' | |
def parse_phone_for_provider(string_may_be): |