content stringlengths 7 1.05M |
|---|
"""
@author: magician
@file: annotation_attribute.py
@date: 2020/8/4
"""
class Field(object):
"""
Field
"""
def __init__(self, name):
self.name = name
self.internal_name = '_' + name
def __get__(self, instance, instance_type):
if instance is None:
return self
return getattr(instance, self.internal_name, '')
def __set__(self, instance, value):
setattr(instance, self.internal_name, value)
class Customer(object):
"""
Customer
"""
first_name = Field('first_name')
last_name = Field('last_name')
prefix = Field('prefix')
suffix = Field('suffix')
class Meta(type):
"""
Meta
"""
def __new__(meta, name, bases, class_dict):
for key, value in class_dict.items():
if isinstance(value, Field):
value.name = key
value.internal_name = '_' + key
cls = type.__new__(meta, name, bases, class_dict)
return cls
class DatabaseRow(object, metaclass=Meta):
"""
DatabaseRow
"""
pass
class Field1(object):
"""
Field1
"""
def __init__(self):
self.name = None
self.internal_name = None
class BetterCustomer(DatabaseRow):
"""
BetterCustomer
"""
first_name = Field1()
last_name = Field1()
prefix = Field1()
suffix = Field1()
if __name__ == '__main__':
foo = Customer()
print('Before: ', repr(foo.first_name), foo.__dict__)
foo.first_name = 'Euclid'
print('After: ', repr(foo.first_name), foo.__dict__)
foo1 = BetterCustomer()
print('Before: ', repr(foo1.first_name), foo1.__dict__)
foo1.first_name = 'Euluer'
print('After: ', repr(foo1.first_name), foo1.__dict__)
|
"""Top-level package for RocketPy."""
__author__ = """Mohammed Raihaan Usman"""
__email__ = 'raihaan.usman@gmail.com'
__version__ = '0.1.1' |
# link: https://leetcode.com/problems/add-and-search-word-data-structure-design/
class TrieNode(object):
def __init__(self):
self.children = collections.defaultdict(TrieNode)
self.is_word=False
class WordDictionary(object):
def __init__(self):
"""
Initialize your data structure here.
"""
self.root = TrieNode()
def addWord(self, word):
"""
Adds a word into the data structure.
:type word: str
:rtype: None
"""
current = self.root
for letter in word:
current = current.children[letter]
current.is_word=True
def search(self, word):
"""
Returns if the word is in the data structure. A word could contain the dot character '.' to represent any one letter.
:type word: str
:rtype: bool
"""
current = self.root
self.result = False
self.dfs(current, word)
return self.result
def dfs(self,current, word):
if not word:
if current.is_word:
self.result = True
return
else:
if word[0] == '.':
for children in current.children.values():
self.dfs(children, word[1:])
else:
current = current.children.get(word[0])
if not current:
return
self.dfs(current,word[1:])
# Your WordDictionary object will be instantiated and called as such:
# obj = WordDictionary()
# obj.addWord(word)
# param_2 = obj.search(word) |
width = const(10)
height = const(16)
data = [
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x00 (0)
0x00,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x00,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x01 (1)
0x00,0x00,0x36,0x00,0x36,0x00,0x36,0x00,0x36,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x02 (2)
0x00,0x00,0x11,0x00,0x11,0x00,0x11,0x00,0xff,0x80,0x22,0x00,0x22,0x00,0x22,0x00,0x22,0x00,0xff,0x80,0x44,0x00,0x44,0x00,0x44,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x03 (3)
0x08,0x00,0x3e,0x00,0x68,0x00,0x48,0x00,0x48,0x00,0x38,0x00,0x18,0x00,0x0e,0x00,0x0b,0x00,0x09,0x00,0x09,0x00,0x4a,0x00,0x3c,0x00,0x08,0x00,0x00,0x00,0x00,0x00, # Character 0x04 (4)
0x00,0x00,0x70,0x40,0x88,0x80,0x88,0x80,0x89,0x00,0x8a,0x00,0x74,0x00,0x0b,0x80,0x0c,0x40,0x14,0x40,0x24,0x40,0x44,0x40,0x83,0x80,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x05 (5)
0x00,0x00,0x38,0x00,0x44,0x00,0x44,0x00,0x4c,0x00,0x78,0x00,0x30,0x00,0x71,0x00,0x89,0x00,0x85,0x00,0x83,0x00,0x87,0x00,0x7c,0xc0,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x06 (6)
0x00,0x00,0x0e,0x00,0x0e,0x00,0x0e,0x00,0x04,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x07 (7)
0x03,0x00,0x0c,0x00,0x10,0x00,0x30,0x00,0x20,0x00,0x40,0x00,0x40,0x00,0x40,0x00,0x40,0x00,0x40,0x00,0x40,0x00,0x20,0x00,0x30,0x00,0x10,0x00,0x0c,0x00,0x03,0x00, # Character 0x08 (8)
0x60,0x00,0x18,0x00,0x04,0x00,0x06,0x00,0x02,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x02,0x00,0x06,0x00,0x04,0x00,0x18,0x00,0x60,0x00, # Character 0x09 (9)
0x08,0x00,0x08,0x00,0x6b,0x00,0x1c,0x00,0x1c,0x00,0x6b,0x00,0x08,0x00,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x0a (10)
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x7f,0xc0,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x0b (11)
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x00,0x1c,0x00,0x1c,0x00,0x04,0x00,0x08,0x00,0x10,0x00, # Character 0x0c (12)
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7f,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x0d (13)
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1c,0x00,0x1c,0x00,0x1c,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x0e (14)
0x00,0x80,0x00,0x80,0x01,0x00,0x02,0x00,0x02,0x00,0x04,0x00,0x04,0x00,0x08,0x00,0x10,0x00,0x10,0x00,0x20,0x00,0x40,0x00,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x0f (15)
0x00,0x00,0x1c,0x00,0x23,0x00,0x41,0x80,0x41,0x80,0x42,0x80,0x44,0x80,0x48,0x80,0x48,0x80,0x50,0x80,0x60,0x80,0x21,0x00,0x1e,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x10 (16)
0x00,0x00,0x18,0x00,0x28,0x00,0x48,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x7f,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x11 (17)
0x00,0x00,0x3f,0x00,0x40,0x80,0x00,0x80,0x00,0x80,0x01,0x00,0x06,0x00,0x0c,0x00,0x10,0x00,0x20,0x00,0x60,0x00,0x40,0x00,0x7f,0x80,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x12 (18)
0x00,0x00,0x3c,0x00,0x43,0x00,0x01,0x00,0x01,0x00,0x02,0x00,0x3e,0x00,0x01,0x00,0x00,0x80,0x00,0x80,0x00,0x80,0x41,0x00,0x3e,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x13 (19)
0x00,0x00,0x02,0x00,0x06,0x00,0x0a,0x00,0x12,0x00,0x12,0x00,0x22,0x00,0x42,0x00,0x82,0x00,0xff,0xc0,0x02,0x00,0x02,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x14 (20)
0x00,0x00,0x7f,0x00,0x40,0x00,0x40,0x00,0x40,0x00,0x7c,0x00,0x03,0x00,0x00,0x80,0x00,0x80,0x00,0x80,0x00,0x80,0x41,0x00,0x3e,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x15 (21)
0x00,0x00,0x1f,0x00,0x20,0x00,0x40,0x00,0xc0,0x00,0x80,0x00,0x9e,0x00,0xa1,0x00,0xc0,0x80,0xc0,0x80,0x40,0x80,0x61,0x00,0x3e,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x16 (22)
0x00,0x00,0x7f,0x80,0x00,0x80,0x01,0x00,0x03,0x00,0x04,0x00,0x04,0x00,0x08,0x00,0x08,0x00,0x10,0x00,0x10,0x00,0x10,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x17 (23)
0x00,0x00,0x1f,0x00,0x61,0x80,0x40,0x80,0x40,0x80,0x21,0x00,0x1e,0x00,0x33,0x00,0x61,0x80,0x40,0x80,0x40,0x80,0x61,0x80,0x1e,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x18 (24)
0x00,0x00,0x3e,0x00,0x43,0x00,0x81,0x00,0x81,0x80,0x81,0x80,0x42,0x80,0x3c,0x80,0x00,0x80,0x01,0x80,0x01,0x00,0x02,0x00,0x7c,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x19 (25)
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1c,0x00,0x1c,0x00,0x1c,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1c,0x00,0x1c,0x00,0x1c,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x1a (26)
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1c,0x00,0x1c,0x00,0x1c,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x00,0x1c,0x00,0x1c,0x00,0x04,0x00,0x08,0x00,0x10,0x00, # Character 0x1b (27)
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40,0x01,0x80,0x06,0x00,0x18,0x00,0x60,0x00,0x18,0x00,0x06,0x00,0x01,0x80,0x00,0x40,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x1c (28)
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x80,0x00,0x00,0x00,0x00,0xff,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x1d (29)
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40,0x00,0x30,0x00,0x0c,0x00,0x03,0x00,0x00,0xc0,0x03,0x00,0x0c,0x00,0x30,0x00,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x1e (30)
0x00,0x00,0x3f,0x00,0x00,0x80,0x00,0x80,0x01,0x80,0x03,0x00,0x04,0x00,0x08,0x00,0x10,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x1f (31)
0x1e,0x00,0x21,0x00,0x40,0x80,0x9f,0x40,0xa1,0x40,0xa1,0x40,0xa1,0x40,0xa1,0x40,0x9f,0x80,0x80,0x00,0x40,0x00,0x22,0x00,0x1e,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x20 (32)
0x00,0x00,0x08,0x00,0x1c,0x00,0x14,0x00,0x14,0x00,0x32,0x00,0x22,0x00,0x22,0x00,0x61,0x00,0x7f,0x00,0x41,0x00,0xc1,0x80,0x80,0x80,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x21 (33)
0x00,0x00,0x7f,0x00,0x40,0x80,0x40,0x80,0x40,0x80,0x40,0x80,0x7f,0x00,0x40,0x80,0x40,0x80,0x40,0x80,0x40,0x80,0x40,0x80,0x7f,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x22 (34)
0x00,0x00,0x1f,0x00,0x20,0x00,0x40,0x00,0x40,0x00,0x40,0x00,0x40,0x00,0x40,0x00,0x40,0x00,0x40,0x00,0x40,0x00,0x20,0x00,0x1f,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x23 (35)
0x00,0x00,0x7e,0x00,0x41,0x00,0x40,0x80,0x40,0x80,0x40,0x80,0x40,0x80,0x40,0x80,0x40,0x80,0x40,0x80,0x40,0x80,0x41,0x00,0x7e,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x24 (36)
0x00,0x00,0x3f,0x80,0x20,0x00,0x20,0x00,0x20,0x00,0x20,0x00,0x3f,0x80,0x20,0x00,0x20,0x00,0x20,0x00,0x20,0x00,0x20,0x00,0x3f,0x80,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x25 (37)
0x00,0x00,0x3f,0x80,0x20,0x00,0x20,0x00,0x20,0x00,0x20,0x00,0x3f,0x80,0x20,0x00,0x20,0x00,0x20,0x00,0x20,0x00,0x20,0x00,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x26 (38)
0x00,0x00,0x1f,0x80,0x20,0x00,0x40,0x00,0x40,0x00,0x40,0x00,0x40,0x00,0x41,0x80,0x40,0x80,0x40,0x80,0x40,0x80,0x20,0x80,0x1f,0x80,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x27 (39)
0x00,0x00,0x40,0x80,0x40,0x80,0x40,0x80,0x40,0x80,0x40,0x80,0x7f,0x80,0x40,0x80,0x40,0x80,0x40,0x80,0x40,0x80,0x40,0x80,0x40,0x80,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x28 (40)
0x00,0x00,0x7f,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x7f,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x29 (41)
0x00,0x00,0x1f,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x41,0x00,0x7e,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x2a (42)
0x00,0x00,0x41,0x00,0x42,0x00,0x44,0x00,0x48,0x00,0x50,0x00,0x60,0x00,0x50,0x00,0x48,0x00,0x44,0x00,0x42,0x00,0x41,0x00,0x40,0x80,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x2b (43)
0x00,0x00,0x20,0x00,0x20,0x00,0x20,0x00,0x20,0x00,0x20,0x00,0x20,0x00,0x20,0x00,0x20,0x00,0x20,0x00,0x20,0x00,0x20,0x00,0x3f,0x80,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x2c (44)
0x00,0x00,0x41,0x00,0x63,0x00,0x63,0x00,0x63,0x00,0x55,0x00,0x55,0x00,0x55,0x00,0x4d,0x00,0x49,0x00,0x49,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x2d (45)
0x00,0x00,0x40,0x80,0x60,0x80,0x60,0x80,0x50,0x80,0x50,0x80,0x48,0x80,0x44,0x80,0x44,0x80,0x42,0x80,0x43,0x80,0x41,0x80,0x40,0x80,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x2e (46)
0x00,0x00,0x1e,0x00,0x21,0x00,0x40,0x80,0x40,0x80,0x40,0x80,0x40,0x80,0x40,0x80,0x40,0x80,0x40,0x80,0x40,0x80,0x21,0x00,0x1e,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x2f (47)
0x00,0x00,0x7f,0x00,0x40,0x80,0x40,0x80,0x40,0x80,0x40,0x80,0x41,0x00,0x7e,0x00,0x40,0x00,0x40,0x00,0x40,0x00,0x40,0x00,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x30 (48)
0x00,0x00,0x1e,0x00,0x21,0x00,0x40,0x80,0x40,0x80,0x40,0x80,0x40,0x80,0x40,0x80,0x40,0x80,0x40,0x80,0x40,0x80,0x21,0x00,0x1e,0x00,0x04,0x00,0x04,0x00,0x03,0xc0, # Character 0x31 (49)
0x00,0x00,0x7e,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x42,0x00,0x7c,0x00,0x44,0x00,0x42,0x00,0x41,0x00,0x41,0x00,0x40,0x80,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x32 (50)
0x00,0x00,0x1f,0x00,0x20,0x00,0x40,0x00,0x40,0x00,0x60,0x00,0x30,0x00,0x0c,0x00,0x03,0x00,0x00,0x80,0x00,0x80,0x01,0x00,0x7e,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x33 (51)
0x00,0x00,0xff,0x80,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x34 (52)
0x00,0x00,0x40,0x80,0x40,0x80,0x40,0x80,0x40,0x80,0x40,0x80,0x40,0x80,0x40,0x80,0x40,0x80,0x40,0x80,0x40,0x80,0x40,0x80,0x3f,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x35 (53)
0x00,0x00,0x80,0x80,0xc0,0x80,0x41,0x00,0x41,0x00,0x63,0x00,0x22,0x00,0x22,0x00,0x36,0x00,0x14,0x00,0x14,0x00,0x1c,0x00,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x36 (54)
0x00,0x00,0x88,0x80,0x88,0x80,0x88,0x80,0x55,0x00,0x55,0x00,0x55,0x00,0x55,0x00,0x55,0x00,0x77,0x00,0x63,0x00,0x22,0x00,0x22,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x37 (55)
0x00,0x00,0x21,0x00,0x22,0x00,0x12,0x00,0x14,0x00,0x0c,0x00,0x08,0x00,0x0c,0x00,0x14,0x00,0x22,0x00,0x22,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x38 (56)
0x00,0x00,0x40,0x40,0x20,0x80,0x20,0x80,0x11,0x00,0x0a,0x00,0x0a,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x39 (57)
0x00,0x00,0x7f,0x80,0x00,0x80,0x01,0x00,0x02,0x00,0x02,0x00,0x04,0x00,0x08,0x00,0x10,0x00,0x10,0x00,0x20,0x00,0x40,0x00,0x7f,0x80,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x3a (58)
0x3f,0x00,0x20,0x00,0x20,0x00,0x20,0x00,0x20,0x00,0x20,0x00,0x20,0x00,0x20,0x00,0x20,0x00,0x20,0x00,0x20,0x00,0x20,0x00,0x20,0x00,0x20,0x00,0x20,0x00,0x3f,0x00, # Character 0x3b (59)
0x20,0x00,0x20,0x00,0x10,0x00,0x10,0x00,0x08,0x00,0x04,0x00,0x04,0x00,0x02,0x00,0x02,0x00,0x01,0x00,0x01,0x00,0x00,0x80,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x3c (60)
0xfc,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0xfc,0x00, # Character 0x3d (61)
0x00,0x00,0x00,0x00,0x0c,0x00,0x0c,0x00,0x12,0x00,0x12,0x00,0x21,0x00,0x21,0x00,0x40,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x3e (62)
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x80,0x00,0x00,0x00,0x00, # Character 0x3f (63)
0x08,0x00,0x04,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x40 (64)
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1f,0x00,0x21,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x43,0x00,0x3d,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x41 (65)
0x40,0x00,0x40,0x00,0x40,0x00,0x40,0x00,0x5e,0x00,0x61,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x42,0x00,0x7c,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x42 (66)
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1e,0x00,0x21,0x00,0x40,0x00,0x40,0x00,0x40,0x00,0x40,0x00,0x40,0x00,0x20,0x00,0x1f,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x43 (67)
0x00,0x80,0x00,0x80,0x00,0x80,0x00,0x80,0x0f,0x80,0x10,0x80,0x20,0x80,0x20,0x80,0x20,0x80,0x20,0x80,0x20,0x80,0x21,0x80,0x1e,0x80,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x44 (68)
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1e,0x00,0x21,0x00,0x41,0x00,0x41,0x00,0x7f,0x00,0x40,0x00,0x40,0x00,0x21,0x00,0x1e,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x45 (69)
0x03,0xc0,0x04,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x7f,0x80,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x46 (70)
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0f,0x80,0x10,0x80,0x20,0x80,0x20,0x80,0x20,0x80,0x20,0x80,0x20,0x80,0x21,0x80,0x1e,0x80,0x00,0x80,0x21,0x00,0x1e,0x00, # Character 0x47 (71)
0x40,0x00,0x40,0x00,0x40,0x00,0x40,0x00,0x5e,0x00,0x61,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x48 (72)
0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x70,0x00,0x10,0x00,0x10,0x00,0x10,0x00,0x10,0x00,0x10,0x00,0x10,0x00,0x10,0x00,0x1c,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x49 (73)
0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1f,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x02,0x00,0x3c,0x00, # Character 0x4a (74)
0x20,0x00,0x20,0x00,0x20,0x00,0x20,0x00,0x21,0x00,0x22,0x00,0x24,0x00,0x28,0x00,0x30,0x00,0x28,0x00,0x24,0x00,0x22,0x00,0x21,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x4b (75)
0x70,0x00,0x10,0x00,0x10,0x00,0x10,0x00,0x10,0x00,0x10,0x00,0x10,0x00,0x10,0x00,0x10,0x00,0x10,0x00,0x10,0x00,0x10,0x00,0x1c,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x4c (76)
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xb3,0x00,0xcc,0x80,0x88,0x80,0x88,0x80,0x88,0x80,0x88,0x80,0x88,0x80,0x88,0x80,0x88,0x80,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x4d (77)
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x5e,0x00,0x61,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x4e (78)
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1c,0x00,0x22,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x22,0x00,0x1c,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x4f (79)
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x5e,0x00,0x61,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x42,0x00,0x7c,0x00,0x40,0x00,0x40,0x00,0x40,0x00, # Character 0x50 (80)
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0f,0x80,0x10,0x80,0x20,0x80,0x20,0x80,0x20,0x80,0x20,0x80,0x20,0x80,0x21,0x80,0x1e,0x80,0x00,0x80,0x00,0x80,0x00,0x80, # Character 0x51 (81)
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2f,0x80,0x30,0x80,0x20,0x80,0x20,0x00,0x20,0x00,0x20,0x00,0x20,0x00,0x20,0x00,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x52 (82)
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3c,0x00,0x42,0x00,0x40,0x00,0x20,0x00,0x1c,0x00,0x02,0x00,0x01,0x00,0x41,0x00,0x3e,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x53 (83)
0x00,0x00,0x00,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x3f,0x80,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x07,0x80,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x54 (84)
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x80,0x20,0x80,0x20,0x80,0x20,0x80,0x20,0x80,0x20,0x80,0x20,0x80,0x21,0x80,0x1e,0x80,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x55 (85)
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40,0x40,0x40,0x40,0x20,0x80,0x20,0x80,0x11,0x00,0x11,0x00,0x0a,0x00,0x0a,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x56 (86)
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x88,0x80,0x88,0x80,0x94,0x80,0x55,0x00,0x55,0x00,0x55,0x00,0x55,0x00,0x22,0x00,0x22,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x57 (87)
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x41,0x00,0x22,0x00,0x14,0x00,0x08,0x00,0x08,0x00,0x14,0x00,0x22,0x00,0x22,0x00,0x41,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x58 (88)
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x21,0x00,0x22,0x00,0x12,0x00,0x14,0x00,0x0c,0x00,0x0c,0x00,0x08,0x00,0x08,0x00,0x10,0x00,0xe0,0x00, # Character 0x59 (89)
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7f,0x80,0x01,0x80,0x03,0x00,0x06,0x00,0x0c,0x00,0x18,0x00,0x30,0x00,0x60,0x00,0x7f,0x80,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x5a (90)
0x07,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x30,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x07,0x00, # Character 0x5b (91)
0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x5c (92)
0x70,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x06,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x70,0x00, # Character 0x5d (93)
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x38,0x80,0x4c,0x80,0x47,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x5e (94)
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x5f (95)
]
|
hora_trabalho = int(input("Digite o número de horas trabalhadas: "))
salario_min = int(input("Digite o valor do salario minímo: "))
horaextra = int(input("Digite o número de horas extras trabalhadas: "))
print(f"A salario é igual a R$: {salario_min / 8 * hora_trabalho + salario_min / 4 * horaextra}")
|
# coding=utf-8
""" 停用词,去除标点符号 """
stop_words = [
',',
'。',
'“',
'”',
'‘',
'’',
'!',
'?',
'(',
'《',
'》',
')',
'-',
'=',
'+',
'-',
':',
';',
'…',
'、',
'?',
'.',
',',
'/',
';',
':',
'.',
'!',
'(',
')',
'&',
'^',
'%',
'$',
'#',
'@',
'`',
'~',
'\\',
'|',
'_',
'<',
'>',
]
|
def merge_the_tools(string, n):
out = [list(string)[k:k+n] for k in range(0,len(list(string)),n)]
for x in out:
print(''.join(sorted(set(x), key=x.index)))
|
def calculate_determinant(matrix):
if len(matrix) is 1:
return matrix[0][0]
elif len(matrix) is 2:
return (matrix[0][0] * matrix[1][1]) - (matrix[1][0] * matrix[0][1])
total = float()
for i in range(0, len(matrix)):
cofactor = (-1 ^ i) * matrix[0][i]
minor = [ ]
for y in range(1, len(matrix)):
sub = 0
for x in range(0, len(matrix[y])):
if x is i:
sub = -1
continue
minor[y - 1][x + sub] = matrix[y][x]
total += cofactor * calculate_determinant(minor)
return total |
# -*- coding: UTF-8 -*-
FIXTURE_WEBVTT = """WEBVTT
00:14.848 --> 00:17.350
MAN:
When we think
of E equals m c-squared,
00:17.350 --> 00:18.752
we have this vision of Einstein
00:18.752 --> 00:20.887
as an old, wrinkly man
with white hair.
00:20.887 --> 00:26.760
MAN 2:
E equals m c-squared is
not about an old Einstein.
00:26.760 --> 00:30.163
It's actually about
a young, energetic, dynamic,
00:30.163 --> 00:32.232
even a sexy Einstein.
00:33.666 --> 00:38.138
ACTOR AS EINSTEIN:
What would I see if I rode
on a beam of light?
"""
FIXTURE_WEBVTT_STRIPPED = "MAN: When we think of E equals m c-squared, we have this vision of Einstein as an old, wrinkly man with white hair. MAN 2: E equals m c-squared is not about an old Einstein. It's actually about a young, energetic, dynamic, even a sexy Einstein. ACTOR AS EINSTEIN: What would I see if I rode on a beam of light?"
|
num_pessoas = input("Você deseja uma mesa para qunatas pessoas ? ")
if int(num_pessoas) <= 8:
print(f'Nós temos uma mesa para {num_pessoas} pessoas pronta para você.')
else:
print(f'Nós não temos uma mesa para {num_pessoas} pessoas disponivel no momento.')
print('Você precisará espera alguns minutos.')
|
PARAM_TOKEN = '%s'
class DbContext(object):
"""
"""
def __init__(self, connection, param_token=PARAM_TOKEN):
self.param_token = param_token
self.connection = connection
self.cursor = connection.cursor()
mod = self.cursor.connection.__class__.__module__.split('.', 1)[0]
# a mapping of different database adapters/drivers, needed to handle different
# quotations/escaping of sql fields, see the quote-method.
DBNAME_MAP = {
'psycopg2': 'postgres',
'MySQLdb': 'mysql',
'sqlite3': 'sqlite',
'sqlite': 'sqlite',
'pysqlite2': 'sqlite'
}
self.db_type = DBNAME_MAP.get(mod)
if self.db_type == 'postgres':
self.quote = lambda x: '"%s"' % x
else:
self.quote = lambda x: '`%s`' % x
|
class BitmapScalingMode(Enum,IComparable,IFormattable,IConvertible):
"""
Specifies which algorithm is used to scale bitmap images.
enum BitmapScalingMode,values: Fant (2),HighQuality (2),Linear (1),LowQuality (1),NearestNeighbor (3),Unspecified (0)
"""
def __eq__(self,*args):
""" x.__eq__(y) <==> x==yx.__eq__(y) <==> x==yx.__eq__(y) <==> x==y """
pass
def __format__(self,*args):
""" __format__(formattable: IFormattable,format: str) -> str """
pass
def __ge__(self,*args):
pass
def __gt__(self,*args):
pass
def __init__(self,*args):
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
def __le__(self,*args):
pass
def __lt__(self,*args):
pass
def __ne__(self,*args):
pass
def __reduce_ex__(self,*args):
pass
def __str__(self,*args):
pass
Fant=None
HighQuality=None
Linear=None
LowQuality=None
NearestNeighbor=None
Unspecified=None
value__=None
|
if __name__ == '__main__':
# Definition for singly-linked list.
class ListNode:
def __init__(self, val=0, next=None):
self.val = val
self.next = next
class Solution:
def addTwoNumbers(self, l1: ListNode, l2: ListNode) -> ListNode:
def __init__(self):
self.head = None
prev = None
temp_carry = 0
temp = None
while (l1 is not None or l2 is not None):
f_value = 0 if l1 is None else l1.val
s_value = 0 if l2 is None else l2.val
sum = temp_carry + f_value + s_value
temp_carry = 1 if sum >= 10 else 0
sum = sum if sum < 10 else sum % 10
temp = ListNode(sum)
if self.head is None:
self.head = temp
else:
prev.next = temp
prev = temp
if l1 is not None:
l1 = l1.next
if l2 is not None:
l2 = l2.next
if temp_carry > 0:
temp.next = ListNode(temp_carry)
return self.head
l1 = ListNode(7 ,ListNode(5 ,ListNode(9, ListNode(4, ListNode(6)))))
l2 = ListNode(8, ListNode(4))
# print(l1.next.next.next.next.val)
res = Solution()
#
print(res.addTwoNumbers(l1 ,l2).next.next.val)
# print(res.addTwoNumbers(l1 ,l2).val)
|
#! /usr/bin/env python3
description = '''
Roman numerals
Problem 89
The rules for writing Roman numerals allow for many ways of writing each number (see About Roman Numerals...). However, there is always a "best" way of writing a particular number.
For example, the following represent all of the legitimate ways of writing the number sixteen:
IIIIIIIIIIIIIIII
VIIIIIIIIIII
VVIIIIII
XIIIIII
VVVI
XVI
The last example being considered the most efficient, as it uses the least number of numerals.
The 11K text file, roman.txt (right click and 'Save Link/Target As...'), contains one thousand numbers written in valid, but not necessarily minimal, Roman numerals; that is, they are arranged in descending units and obey the subtractive pair rule (see About Roman Numerals... for the definitive rules for this problem).
Find the number of characters saved by writing each of these in their minimal form.
Note: You can assume that all the Roman numerals in the file contain no more than four consecutive identical units.
'''
# roman ::= SubtractiveGroup+
# subtractiveGroup ::= D1*D2+ where D1 < D2
digitValues = {
'I' : 1,
'V' : 5,
'X' : 10,
'L' : 50,
'C' : 100,
'D' : 500,
'M' : 1000
}
def addUnits(s):
total = 0
i = 0
while i < len(s) and s[i] == s[0]:
total += digitValues[s[i]]
i += 1
return (total, i)
def parseSubtractiveGroup(s):
total1, i = addUnits(s)
if i == len(s) or digitValues[s[i]] < digitValues[s[0]]:
return (total1, s[i:])
total2, j = addUnits(s[i:])
return (total2 - total1, s[i+j:])
def parseRoman(s):
total = 0
while len(s) > 0:
v, s = parseSubtractiveGroup(s)
total += v
return total
def printRoman(n):
def gen(n):
while n > 0:
sn = str(n)
if n >= 1000: yield 'M'; n -= 1000
elif sn[0] not in ['4', '9']:
if n >= 500: yield 'D'; n -= 500
elif n >= 100: yield 'C'; n -= 100
elif n >= 50: yield 'L'; n -= 50
elif n >= 10: yield 'X'; n -= 10
elif n >= 5: yield 'V'; n -= 5
else: yield 'I'; n -= 1
else:
if n >= 100: yield 'C'; n += 100
elif n >= 10: yield 'X'; n += 10
else: yield 'I'; n += 1
return ''.join(gen(n))
with open('roman.txt', 'r') as f:
numerals = [line.strip() for line in f]
saved = 0
for n in numerals:
m = parseRoman(n)
s = printRoman(m)
saved += (len(n) - len(s))
print('characters saved:', saved)
|
# Finding the longest increasing subsequence in an array
# [3, 4, -1, 0, 6, 2, 3] -> [-1, 0, 2, 3]
# [2, 5, 1, 8, 3] -> [2, 5, 8]
def finding_longest_subsequence(arr):
if not arr:
return 0
longest_subsequence = 1
longest_arr = [arr[0]]
max_observed = float('-inf')
for idx in range(1, len(arr)):
ele = arr[idx]
while True:
if longest_arr and longest_arr[-1] > ele:
longest_arr.pop(-1)
longest_subsequence -= 1
else:
break
longest_arr += ele,
longest_subsequence += 1
max_observed = max(max_observed, longest_subsequence)
print (longest_arr, longest_subsequence, max_observed)
return max_observed
if __name__ == '__main__':
print (finding_longest_subsequence([3, 4, -1, 0, 6, 2, 3]))
print (finding_longest_subsequence([2, 5, 1, 8, 3]))
|
class OpenPoseSkeleton(object):
def __init__(self):
self.root = 'MidHip'
self.keypoint2index = {
'Nose': 0,
'Neck': 1,
'RShoulder': 2,
'RElbow': 3,
'RWrist': 4,
'LShoulder': 5,
'LElbow': 6,
'LWrist': 7,
'MidHip': 8,
'RHip': 9,
'RKnee': 10,
'RAnkle': 11,
'LHip': 12,
'LKnee': 13,
'LAnkle': 14,
'REye': 15,
'LEye': 16,
'REar': 17,
'LEar': 18,
'LBigToe': 19,
'LSmallToe': 20,
'LHeel': 21,
'RBigToe': 22,
'RSmallToe': 23,
'RHeel': 24
}
self.index2keypoint = {v: k for k, v in self.keypoint2index.items()}
self.keypoint_num = len(self.keypoint2index)
self.children = {
'MidHip': ['Neck', 'RHip', 'LHip'],
'Neck': ['Nose', 'RShoulder', 'LShoulder'],
'Nose': ['REye', 'LEye'],
'REye': ['REar'],
'REar': [],
'LEye': ['LEar'],
'LEar': [],
'RShoulder': ['RElbow'],
'RElbow': ['RWrist'],
'RWrist': [],
'LShoulder': ['LElbow'],
'LElbow': ['LWrist'],
'LWrist': [],
'RHip': ['RKnee'],
'RKnee': ['RAnkle'],
'RAnkle': ['RBigToe', 'RSmallToe', 'RHeel'],
'RBigToe': [],
'RSmallToe': [],
'RHeel': [],
'LHip': ['LKnee'],
'LKnee': ['LAnkle'],
'LAnkle': ['LBigToe', 'LSmallToe', 'LHeel'],
'LBigToe': [],
'LSmallToe': [],
'LHeel': [],
}
self.parent = {self.root: None}
for parent, children in self.children.items():
for child in children:
self.parent[child] = parent |
class CountingSort:
def __init__(self,a):
self.a = a
def result(self):
maxSize = max(self.a)
presence = [0 for x in range(maxSize+1)]
for element in self.a:
presence[element] += 1
for i in range(1,len(presence)):
presence[i] = presence[i] + presence[i-1]
b = [0 for x in range(len(self.a))]
for i in range(len(self.a)-1,-1,-1):
b[presence[self.a[i]]-1] = self.a[i]
presence[self.a[i]] -= 1
self.a = b
return self.a
|
class BlockcertValidationError(Exception):
pass
class InvalidUrlError(Exception):
pass
|
# 6. Elabore uma estrutura para representar um Funcionario (código, nome, endereço, salário). Para o membro endereço deve-se criar outra estrutura Endereço (logradouro, número, bairro, cidade). Utilize aninhamento de estruturas para resolver este desenvolvimento. Construa uma função para cada opçao do menu a seguir:
# Menu de opções:
# Cadastrar funcionários
# Visualizar todos os dados
# Sair
class residencia:
logradouro = ''
numero = 0
bairro = ''
cidade = ''
class funcionario:
codigo = 0
nome = ''
endereco = residencia()
salario = 0.00
def menu():
print('Menu de opções:')
print('1. Cadastrar funcionários')
print('2. Visualizar todos os dados')
print('3. Sair')
print()
opcao = int(input('Escolha uma opção: '))
return opcao
def cadastrar(vet):
f = funcionario()
f.codigo = int(input('Digite o código do funcionário: '))
f.nome = input('Digite o nome: ')
f.endereco.logradouro = input('Digite o logradouro (largos, praças, ruas, jardins, parques, etc.): ')
f.endereco.numero = int(input('Digite o número do endereço: '))
f.endereco.bairro = input('Digite o bairro: ')
f.endereco.cidade = input('Digite a cidade: ')
f.salario = float(input('Digite o salário: R$ '))
vet.append(f)
print()
return vet
def visualizar(vet):
if len(vet) > 0:
for i in range(len(vet)):
print('Código do funcionário: {} \tNome: {} \tEndereço: {}, {}, {} - {} \tSalário: R$ {:.2f}'.format(vet[i].codigo, vet[i].nome, vet[i].endereco.logradouro, vet[i].endereco.numero, vet[i].endereco.bairro, vet[i].endereco.cidade, vet[i].salario))
print()
else:
print('Funcionário não cadastrado(s).\n')
def main():
vetor_funcionario = []
x = menu()
while x > 0:
print()
if x == 1:
vetor_funcionario = cadastrar(vetor_funcionario)
elif x == 2:
visualizar(vetor_funcionario)
elif x == 3:
print('Saindo...')
break
else:
print('Comando Inválido. Tente Novamente.\n')
x = menu()
main() |
##
##Namelog.py
##
##
##uses list to load name
##
playerName = "???"
def nameWrite():
text_file = open("name.txt", "w+")
print('Girl: What was your name?')
ins = input()
if ins == "":
ins = "Hazel"
print('I couldnt be bothered to put a name so call me Hazel')
text_file.write(ins)
text_file.close()
def nameRead():
text_file = open("name.txt","r")
global playerName
playerName = text_file.read()
## print ("This is the output in file:",text_file.read())
## global playerName
## playerName = text_file.read()
text_file.close()
##nameWrite()
##nameRead()
##print("You name is now:",playerName)
##
##print('End File')
##
|
# Scrapy settings for Newengland project
#
# For simplicity, this file contains only the most important settings by
# default. All the other settings are documented here:
#
# http://doc.scrapy.org/en/latest/topics/settings.html
#
BOT_NAME = 'Newengland'
SPIDER_MODULES = ['Newengland.spiders']
NEWSPIDER_MODULE = 'Newengland.spiders'
# Crawl responsibly by identifying yourself (and your website) on the user-agent
#USER_AGENT = 'Newengland (+http://www.yourdomain.com)'
|
'''
pokemon = {'Trainer1':
{'normal': {'rattatas':15, 'eevees': 2, 'ditto':1}, 'water': {'magikarps':3}, 'flying': {'zubats':8, 'pidgey': 12}},
'Trainer2':
{'normal': {'rattatas':25, 'eevees': 1}, 'water': {'magikarps':7}, 'flying': {'zubats':3, 'pidgey': 15}},
'Trainer3':
{'normal': {'rattatas':10, 'eevees': 3, 'ditto':2}, 'water': {'magikarps':2}, 'flying': {'zubats':3, 'pidgey': 20}},
'Trainer4':
{'normal': {'rattatas':17, 'eevees': 1}, 'water': {'magikarps':9}, 'flying': {'zubats':12, 'pidgey': 14}}}
r = 0
d = 0
p = 0
print(pokemon[0])
#for t in pokemon.items():
#for trainer in t:
'''
#Exercício Semana 2 //Map and Filter
'''things = [3, 5, -4, 7]
accum = []
for thing in things:
accum.append(thing+1)
print(accum)
test = map((lambda value: value+1), things)
print(test)'''
'''
def lengths(strings):
lents = []
for i in strings:
lents.append(len(i))
return lents
def lengthsMap(strings):
"""lengths takes a list of strings as input and returns a list of numbers that are the lengths
of strings in the input list. Use map!"""
# fill in this function's definition to make the test pass.
lents = map(lambda x: len(x), strings)
return lents
def lengths(strings):
"""lengths takes a list of strings as input and returns a list of numbers that are the lengths
of strings in the input list. Use a list comprehension!"""
# fill in this function's definition to make the test pass.
yourlist = [len(s) for s in strings]
return yourlist
'''
#Write a function called positives_Fil that receives list of things as the input and returns a list of only the positive things, [3, 5, 7], using the filter function.
'''def positives_Fil(list_n):
#pos = filter(lambda x: x > 0, list_n)
pos = filter()
return pos
'''
def positives_Li_Com(lista):
yourlist = [v for v in lista if v >= 0]
#yourlist = filter(lambda num: num % 2 == 0, lista)
return yourlist
things = [3, 5, -4, 7, -2]
print(positives_Li_Com(things))
|
valor = float(input('Qual o preço do produto R$'))
calculo = valor * 5 / 100
resultado = valor - calculo
print('Desconto é de 5%\n'
'Valor do desconto R${:.2f}\n'
'Preço com desconto R${:.2f}' .format(calculo, resultado))
|
'''
this file contains all the functions that contribute in the making of tic tac toe
__________ about the game __________
1-the grid shape :
1 | 2 | 3
-----------
4 | 5 | 6
-----------
7 | 8 | 9
2-how to play the game :
the player with x starts first and
must choose a case number.
____________________________________
autour: Samuj
'''
def win_check(x_cells, o_cells, the_round):
''' this function checks if the player that played this round won or not
-input:
x_cells : the cells taken by 'x' player
o_cells : the cells taken by 'o' player
the_round : the round we are in
-ouput:
returns True if the player won or not
'''
player_cells = x_cells if the_round%2 == 1 else o_cells
lines = [(1+(i*3), 2+(i*3), 3+(i*3)) for i in range(3)]
columns = [(i, i+3 , i+6) for i in range(1,4)]
diags = [(1,5,9),(7,5,3)]
win_postions = [set(position) for layout in [lines, columns, diags] for position in layout]
for position in win_postions:
if position.issubset(player_cells):
player = 'x' if the_round%2 == 1 else 'o'
show(x_cells, o_cells)
print(f'\n{player} wins !')
return True
def show(x_cells, o_cells):
'''
-input:
x_cells : the cells taken by 'x' player
o_cells : the cells taken by 'o' player
-ouput:
prints the layout of the board shape above (doesn't return anything)
'''
def charcter(x):
if x in x_cells:
return ' x '
elif x in o_cells:
return ' o '
return ' '
print('\n-----------\n'.join('|'.join(list(map(charcter,(1+(i*3), 2+(i*3), 3+(i*3))))) for i in range(3)))
def valid_cell(x_cells, o_cells):
''' this function checks if an input is valid or not, for that to be
true it must be a digit in range(1,10) and not included in x_cells or
o_cells.
-input:
x_cells : the cells taken by 'x' player
o_cells : the cells taken by 'o' player
-ouput:
return the valid cell entered by the user
'''
while True:
cell = input('what cell do you choose: ')
if cell.isdigit():
cell = int(cell)
if not cell in x_cells and not cell in o_cells and 1 <= cell <= 9:
print()
return cell
else:
print('not available, try again !')
else:
print('give a valid number, try again !')
def tic_tac_toe():
''' this is the body of the game use the function above to make it work'''
x_cells = set()
o_cells = set()
the_round = 1
while the_round < 10:
player = 'x' if the_round%2 == 1 else 'o'
print(f'\nround {the_round} it is {player} to play \n')
cell = valid_cell(x_cells, o_cells)
if the_round % 2 == 1:
x_cells.add(cell)
else:
o_cells.add(cell)
if win_check(x_cells, o_cells, the_round):
return
show(x_cells, o_cells)
the_round += 1
print('\ndraw')
if __name__ == '__main__':
tic_tac_toe() |
# -*- coding: utf-8 -*-
def transliterate(string, direction=0):
capital_letters = {u'А': u'A',
u'Б': u'B',
u'В': u'V',
u'Г': u'G',
u'Д': u'D',
u'Е': u'E',
u'Ё': u'E',
u'Ж': u'ZH',
u'З': u'Z',
u'И': u'I',
u'Й': u'Y',
u'К': u'K',
u'Л': u'L',
u'М': u'M',
u'Н': u'N',
u'О': u'O',
u'П': u'P',
u'Р': u'R',
u'С': u'S',
u'Т': u'T',
u'У': u'U',
u'Ф': u'F',
u'Х': u'H',
u'Ц': u'TC',
u'Ч': u'CH',
u'Ш': u'SH',
u'Щ': u'SCH',
u'Ъ': u'',
u'Ы': u'Y',
u'Ь': u'',
u'Э': u'EE',
u'Ю': u'YU',
u'Я': u'YA'}
if direction:
capital_letters = {v: k for k, v in capital_letters.items()}
for k, v in capital_letters.items():
string = string.replace(k, v)
return string
|
# Longest Common Subsequence - DP Approach
# Using Edit Distance
# Author - rudrajit1729
# Description
'''
Given two sequences, find the length of longest subsequence present in both of them.
A subsequence is a sequence that appears in the same relative order, but not necessarily contiguous.
For example, “abc”, “abg”, “bdf”, “aeg”, ‘”acefg”, .. etc are subsequences of “abcdefg”.
> Insert - Cost(1)
> Remove - Cost(1)
> Replace - Cost(INF)
'''
def getmaximum(a, b):
# a = DP[i][j-1], b = DP[i-1][j]
if a > b:
return (a, 0)
else:
return (b, 1)
def solve(x, y):
m, n = len(x), len(y)
# Create a table to store topological order
DP = [[0 for x in range(n+1)] for y in range(m+1)]
# Bottom up - Left to right approach
# Solving using prefixes
for i in range(m + 1):
for j in range(n + 1):
# Base Cases
# If either string is empty, len of sequence is 0
if i == 0 or j == 0:
DP[i][j] = 0
# If characters are same, add 1 to length of sequence
elif x[i-1] == y[j-1]:
DP[i][j] = DP[i-1][j-1] + 1
# If last character is different, consider all possibilities
# and find maximum length
else:
DP[i][j] = max(DP[i][j-1], DP[i-1][j])
# return DP[m][n]
# Now that we have the table we need to find the sequence
sol = "" # Stores solution
i, j = m, n # Index for traversal
val = DP[i][j]
while val != 0: # Traverse till one of strings get exhausted
# Get maximum of left and top cell
v, flag = getmaximum(DP[i][j-1], DP[i-1][j])
if val == v: # If value at [i, j] = v -> move to that position
if flag == 0: # move left
j -= 1
else: # Move up
i -= 1
else: # Not one of the values -> The character is in string
# Append that character and move diagonally up
sol = x[i - 1] + sol
i, j = i-1, j-1
val = DP[i][j]
return sol
def main():
x, y = input("Enter String 1 : "), input("Enter String 2 : ")
#x, y = "CAT", "MAT"
ans = solve(x, y)
print("Longest subsequence : {}\nLength of Subsequence : {}".format(ans, len(ans)))
if __name__ == '__main__':
main() |
# -*- coding: utf8 -*-
class Clients:
"""
Get clients information.
"""
def __init__(self, burp_version=1, conf=None):
"""
:param burp_version: version of burp backend to work with 1/2
:param conf: burp_ui configuration to use.
"""
self.version = burp_version
self.buiconf = conf
@staticmethod
def get_client(client='monitor'):
"""
:param client: Name of the client to retrieve data.
:return: [{'received': 326753806, 'end': 1466714070, 'encrypted': False, 'number': 1, 'deletable': True,
'date': 1466713986, 'size': 572911431}]
"""
client_data = [{'received': 326753806, 'end': 1466714070, 'encrypted': False, 'number': 1, 'deletable': True,
'date': 1466713986, 'size': 572911431}]
return client_data
@staticmethod
def get_clients():
"""
# server.get_all_clients()
#
:return: [{'state': u'idle', 'last': 1466703186, 'name': u'monitor'}]
"""
all_clients = [{'state': u'idle', 'last': 1466703186, 'name': u'monitor'}]
return all_clients
|
"""
Link: https://codingcompetitions.withgoogle.com/kickstart/round/000000000019ffc8/00000000002d82e6
Language: Python
Written by: Mostofa Adib Shakib
Time complexity: O(n)
Space Complexity: O(1)
"""
T = int(input())
for x in range(1, T + 1):
N = int(input())
Q = [int(s) for s in input().split(" ")]
y = 0
for i in range(1, len(Q)-1):
if Q[i] > Q[i-1] and Q[i+1] < Q[i]:
y += 1
print("Case #{}: {}".format(x, y), flush = True) |
'''Classe Bola: Crie uma classe que modele uma bola:
Atributos: Cor, marca, material
Métodos: trocaCor e mostraCor'''
class Bola:
def __init__(self, cor, marca, material):
self.cor = cor
self.marca = marca
self.material = material
def getCor(self):
return self.cor
def getMarca(self):
return self.marca
def getMaterial(self):
return self.material
def __str__(self):
return 'Cor: '+ str(self.cor) + ', Marca: '+ str(self.marca) + ', Material: ' + str(self.material)
def trocaCor(self, nova_cor):
self.cor = nova_cor
return self.cor
bola1 = Bola('Vermelha', 'Adidas', 'Couro')
bola2 = Bola('Verde', 'Brinquedo', 'Plastico')
bola3 = Bola('Branca', 'Penalty', 'Couro')
print(bola1)
bola1.trocaCor('Azul')
print(bola1) |
#
# @lc app=leetcode id=401 lang=python3
#
# [401] Binary Watch
#
# @lc code=start
class Solution:
def readBinaryWatch(self, num: int) -> List[str]:
if num > 10:
return []
times = []
for h in range(12): # 4 LEDs represent the hours (0-11)
for m in range(60): # 6 LEDs represent the minutes (0-59)
if (bin(h) + bin(m)).count('1') == num: # n LEDs are currently on
hour_str = str(h)
minute_str = str(m) if m >= 10 else '0' + str(m)
times.append(hour_str + ':' + minute_str)
return times
# @lc code=end
# Accepted
# 10/10 cases passed (24 ms)
# Your runtime beats 97.72 % of python3 submissions
# Your memory usage beats 100 % of python3 submissions (12.6 MB)
|
#!/usr/bin/python
dict = {'Name': 'Ruben', 'Age': 50, 'City': 'Amsterdam'}
print("dict['Name']: ", dict['Name'])
print("dict['Age']: ", dict['Age'])
# Access the data using a key, from the dictionary
print("dict['Ruben']: ", dict['Ruben'])
# Access the data using a key (which is non-existent), from the dictionary, will give an error
print(dict['Dept'])
#You can update the dictionary by
##1. adding a new entry or adding a key value pair
##2. modifying an existing entry
#dict = {'Name': 'Ruben', 'Age': 50, 'City': 'Amsterdam'}
dict['Age'] = 52; # update existing entry
dict['Company'] = "XYZ"; # Add new entry (key-value pair)
#Print the contents of the dict now
dict
#Delete dictionary elements
#You can either delete one element at a time or
# clear teh entire contenst of the dict. or delete the entire dict in one operation
del dict['Name']; # remove entry with key 'Name'
#print the contents
dict
dict.clear(); # remove all entries in dict
#check again the contents of dict
dict
del dict; # delete entire dictionary
#now dict will just show the word dict
"""
Dictionary values can be any python object
However, keys are a bit different
1. No duplicate enteries are allowed epr key
2. Keys must eb immutable
Built in functions and methods of dictionaries are
i. cmp(dict1, dict2)
ii. len(dict)
iii. str(dict)
iv. type(variable)
Methods:
i. clear()
ii. copy()
iii. fromkeys()
iv. get()
v. has_key()
vi. keys()
vii. items()
viii. setdefault()
ix. update()
x. values() """
|
def prepare_knapsack(items, capacity):
'''
"capacity" is a numeric value representing a max weight.
this capacity will be modified as items are added.
---
"storage" is a list (usually a set) of item tuples.
the tuples inside store an item's name, value, and weight.
this variable represents all possible items available.
---
"knapsack" is a list (usually a set) of item tuples.
the tuples inside store an item's name, value, and weight.
this variable represents desireable items to pack up.
'''
# storage is full of items with unknown desireabilities.
storage = items.copy()
# knapsack holds desireable items & starts empty.
knapsack = set()
# as our knapsack fills up, its capacity will decrease.
return pack_bag(storage, knapsack, capacity)
def pack_bag(storage, knapsack, capacity):
# needed to keep things in check
storage = storage.copy()
knapsack = knapsack.copy()
# base case - knapsack is full or storage is empty.
if capacity == 0 or len(storage) == 0:
return knapsack
# extract a random current item from storage
item = storage.pop()
# create semantic names
item_name = item[0]
item_value = item[1]
item_weight = item[2]
if item_weight > capacity:
# item's weight is too heavy to fit in knapsack.
return pack_bag(storage, knapsack, capacity)
else:
# imagine a reality where the current item is kept in.
kept_bag = knapsack.copy()
kept_bag.add(item)
kept_bag = pack_bag(
storage, kept_bag, capacity - item_weight)
# imagine a reality where the current item is left out.
left_bag = pack_bag(
storage, knapsack, capacity)
# calculate total values of both knapsack.
# ==FIXME==
# here is a helper function to determine the total.
# its O(n), but can be easily improved with refactor.
def get_value(backpack):
'''
used word backpack to avoid confusion with knapsack.
'''
result = 0
for column in (row[1] for row in backpack):
result += column
return result
# use function call to calculate sums.
kept_in_value = get_value(kept_bag)
left_out_value = get_value(left_bag)
# this is where we decide whether to add the item in.
if kept_in_value >= left_out_value:
# the knapsack is better with the item kept in!
return kept_bag
elif kept_in_value < left_out_value:
# the knapsack is better with the item left out...
return left_bag
if __name__ == '__main__':
# a given capacity of the knapsack
capacity = 50
# a list of items w/properties, in no particular order
# properties are: name, value, weight -- in order.
items = {
('boot', 60, 10),
('tent', 100, 20),
('water', 120, 30),
('first aid', 70, 15),
}
# items = {
# ('yesterday\'s trash', 1, 25),
# ('silver ingot', 100, 50),
# ('bag of gold coins', 98, 25),
# }
knapsack = prepare_knapsack(items, capacity)
# get value
value = 0
for column in (row[1] for row in knapsack):
value += column
# get weight
weight = 0
for column in (row[2] for row in knapsack):
weight += column
terminal_text = (
'For this input of items (name, value, weight):\n'
f'\t{items}\n\n'
'The optimal solution is:\n'
f'\t{knapsack}\n\n'
'The total weight is:\n'
f'\t{weight} / {capacity}\n\n'
'The total value is:\n'
f'\t{value}\n'
)
print(terminal_text) |
class Error(object):
def __init__(self, msg: str = "") -> None:
super().__init__()
self._msg = msg
def __str__(self) -> str:
return self._msg
def __repr__(self) -> str:
return self._msg
def __eq__(self, o: object) -> bool:
return self._msg == o.__repr__
def __nonzero__(self) -> bool:
return self._msg != ""
|
def lcs(x,y,m,n):
if m==0 or n==0:
return 0;
elif x[m-1]==y[n-1]:
return 1+lcs(x,y,m-1,n-1);
else:
return max(lcs(x,y,m,n-1),lcs(x,y,m-1,n));
x="AGGTAB"
y="GXTXAYB"
print("length of lcs is",lcs(x,y,len(x),len(y)));
|
#! /usr/bin/env python
__author__ = "yatbear <sapphirejyt@gmail.com>"
__date__ = "$Dec 21, 2015"
# Map the infrequent words (count < 5) to a common symbol _RARE_
def remap():
# Read original training data
trainset = [line.strip().split() for line in open('gene.train', 'r').readlines()]
rare_candidates = dict()
for sample in trainset:
if len(sample) == 0:
continue
word = sample[0]
if word in rare_candidates.keys():
rare_candidates[word] += 1
else:
rare_candidates[word] = 1
rarewords = list()
for word, count in rare_candidates.iteritems():
if count < 5:
rarewords.append(word)
new_trainset = list()
for sample in trainset:
if len(sample) == 0:
new_trainset.append('\n')
continue
if sample[0] in rarewords:
line = '_RARE_ ' + sample[1] + '\n'
new_trainset.append(line)
else:
line = sample[0] + ' ' + sample[1] + '\n'
new_trainset.append(line)
with open('gene1.train', 'w') as f:
for line in new_trainset:
f.write(line)
if __name__ == "__main__":
remap() |
# Sylvia Dee <sylvia_dee@brown.edu>
# PRYSM
# PSM for Lacustrine Sedimentary Archives
# SENSOR MODEL: GDGT-based measurements, e.g. TEX86, MBT5e
# Function 'gdgt_sensor'
# Modified 03/8/2016 <sylvia_dee@brown.edu>
#====================================================================
def gdgt_sensor(LST,MAAT,beta=(1/50),model='TEX86-loomis'):
'''
SENSOR SUB-MODEL for GDGT proxy data
INPUTS:
LST: LAKE SURFACE TEMPERATURE (C)
MAAT: MEAN ANNUAL AIR TEMPERATURE (C)
beta: User-Specified transfer fucntion of LST to TEX/GDGT
model: Published calibrations for GDGTs. Options:
- Tierney et al., 2008 = 'TEX86-tierney'
- Loomis et al., 2012 = 'TEX86-loomis'
- Russell et al., 2018 = 'MBT' (for MBT-5Me calibrations with air temperature)
More recent calibration studies have put forward univariate calibrations for
brGDGTs in lakes with mean annual air temperatures, specifically for MBT
indices which use only 5-methyl isomers MBT'_5ME.
OUTPUT: pseudoproxy timeseries (monthly)
'''
if model=='beta':
pseudoproxy= beta*LST
elif model=='TEX86-tierney':
pseudoproxy= (LST+3.4992)/38.874 #tierney2008northern
elif model=='TEX86-loomis':
pseudoproxy= (LST+10.92)/54.88 #loomis2012calibration
elif model=='MBT':
pseudoproxy=(MAAT + 1.21)/32.42 #russell2018distributions
return pseudoproxy |
class Bruxo:
def bruxeis(self):
print('The dead are coming back to life')
class Genio:
def genieis(self):
print('Los muertos vuelven a la vida')
class Deus:
def deuseis(self):
print('De doden komen weer tot leven')
seres = [Bruxo(), Genio(), Deus()]
for ser in seres:
if isinstance(ser, Bruxo):
ser.bruxes()
elif isinstance(ser, Genio):
ser.genies()
else:
ser.deuses()
|
ERROR = {
'INPUT': {
'code': 20001,
'message': 'invalid request data',
'data': 'invalid request data',
},
'REGISTER': {
'code': 20002,
'data': '',
'message': 'failed to register user'
},
'USER_NOT_FOUND': {
'code': 20003,
'data': '',
'message': 'invalid username'
},
'INVALID_PASSWORD': {
'code': 20004,
'data': '',
'message': 'invalid password'
},
'NEED_ENVIRONMENT': {
'code': 20005,
'data': '',
'message': 'not set environment'
},
'TOKEN_EXP': {
'code': 20006,
'data': '',
'message': 'token expired'
},
'TOKEN_INVALID': {
'code': 20007,
'data': '',
'message': 'invalid token'
},
'INTERNAL': {
'code': 20008,
'data': '',
'message': 'internal error'
},
'NO_PERMISSION': {
'code': 30009,
'message': 'not permission'
},
# meeting
'MEETING_INPUT': {
'code': 30001,
'data': '',
'message': 'invalid request data'
},
'NEW_MEETING_FAILED': {
'code': 30002,
'data': '',
'message': 'failed to create meeting'
},
'MEETING_NOT_FOUND': {
'code': 30003,
'data': '',
'message': 'meeting not found'
},
'MEETING_INFO_DATABASE': {
'code': 30005,
'data': '',
'message': 'failed to access database'
},
'MEETING_IS_OVER': {
'code': 30006,
'data': '',
'message': 'meeting is over'
},
'MEETING_NOT_START': {
'code': 30007,
'message': 'meeting is not start'
},
'IS_SHARED': {
'code': 30008,
'message': 'other is sharing'
},
'NOT_SHARE': {
'code': 30009,
'message': 'not sharing'
},
'NOT_PERMISSION_STOP': {
'code': 30010,
'message': 'not permission to stop meeting'
},
# user
'CHANGE_PASSWORD_FAILED': {
'code': 40001,
'data': '',
'message': 'failed to change password'
},
'USER_INFO_DATABASE': {
'code': 40002,
'data': '',
'message': 'failed to access database'
},
# poll
'POLL_INPUT': {
'code': 50001,
'data': '',
'message': 'invalid request data'
},
'GET_POLL_FAILED': {
'code': 50002,
'data': '',
'message': 'failed to get poll list'
},
'POLL_NOT_FOUND': {
'code': 50003,
'data': '',
'message': 'poll not found'
},
'POLL_NOT_HOST': {
'code': 50004,
'data': '',
'message': 'user has no permission to operate poll'
},
'POLL_INFO_DATABASE': {
'code': 50005,
'data': '',
'message': 'failed to access database'
},
'POLL_ALREADY_START': {
'code': 50006,
'data': '',
'message': 'poll already start'
},
'POLL_NOT_START': {
'code': 50007,
'data': '',
'message': 'poll not start'
},
'POLL_EXIST': {
'code': 50008,
'data': '',
'message': 'poll already exist'
},
'POLL_ALREADY_DONE': {
'code': 50009,
'data': '',
'message': 'poll already done'
},
# Group
'GROUP_ALREADY_START': {
'code': 60000,
'data': '',
'message': 'group already start'
},
'GROUP_NOT_FOUND': {
'code': 60001,
'data': '',
'message': 'group not found'
},
}
|
magicians = ['刘谦', '简纶廷', '郭皓炜']
def show_magicians(magicians):
for magician in magicians:
print(magician)
show_magicians(magicians)
def make_great(magicians):
i = 0
for magician in magicians:
magician += ' the Great'
magicians[i] = magician
i = i+1
make_great(magicians)
show_magicians(magicians)
def make_great2(magicians):
magicians2 = []
for magician in magicians:
magician += ' the Great'
magicians2.append(magician)
return magicians2
show_magicians(magicians)
show_magicians(make_great2(magicians))
show_magicians(magicians)
|
class NoDataFileException(Exception):
def __init__(self, message="No data file", errors=[]):
super().__init__(message, errors)
pass
|
age = 17
print("You are " + str(age))
if age >= 21: # Is the age equal to or over 21?
print("You can drink!")
if age >= 18: # Is the age equal to or over 18?
print("You are an adult!")
if age >= 16: # Is the age equal to or over 16?
print("You can drive!")
if age < 16: # Is the age under 16?
print("You can't do anything!")
|
'''
Models simple up/down counter that maintains a single count
Methods:
get_count()
incrememt()
decrement()
set()
reset()
'to_string'
'''
## Start your class with the keyword 'class' and the name of the class:
class Counter:
#----------------------------------------------------------------------------
# Constructor
## This method creates the object in a valid state
def __init__(self):
## Initialize the instance variable that represents the count
self.__count = 0
#----------------------------------------------------------------------------
# Accessors
## return the information about the state of the object
# return current value of count
def get_count(self):
## Your code here
return self.__count
#----------------------------------------------------------------------------
# Mutators
def increment(self):
## Your code here
self.__count +=1
# Does NOT stop at 0
def decrement(self):
## Your code here
self.__count -=1
def set_count(self, value):
## Your code here
self.__count = value
def reset(self):
## Your code here
self.__count = 0
#----------------------------------------------------------------------------
# 'toString'
# String representation of object's current state
def __str__(self):
return "Count = %d" % (self.__count)
|
def foo():
global x
x="juanito"
print(f"El valor de x es {x}")
x=5
print(x)
foo()
print(x)
|
def make_data_tensor(self, train=True):
if train:
folders = self.metatrain_character_folders
# number of tasks, not number of meta-iterations. (divide by metabatch size to measure)
num_total_batches = 200000
else:
folders = self.metaval_character_folders
num_total_batches = 600
# make list of files
print('Generating filenames')
all_filenames = []
### all_filenames is just a really long list (2,000,000 len) of filename paths, where every 2 are from the same character and every 10 are from 5 different random characters regardless of Alphabet
for _ in range(num_total_batches):
##### GET num_classes (N) images
sampled_character_folders = random.sample(folders, self.num_classes)
##### SHUFFLE These images
random.shuffle(sampled_character_folders)
###### Get the images ---> see utils script
labels_and_images = get_images(sampled_character_folders, range(self.num_classes),
nb_samples=self.num_samples_per_class, shuffle=False)
# make sure the above isn't randomized order
labels = [li[0] for li in labels_and_images]
filenames = [li[1] for li in labels_and_images]
#### add the sampled file names to all_filenames
all_filenames.extend(filenames)
# make queue for tensorflow to read from
filename_queue = tf.train.string_input_producer(tf.convert_to_tensor(all_filenames), shuffle=False)
print('Generating image processing ops')
image_reader = tf.WholeFileReader()
_, image_file = image_reader.read(filename_queue)
if FLAGS.datasource == 'miniimagenet':
image = tf.image.decode_jpeg(image_file, channels=3)
image.set_shape((self.img_size[0], self.img_size[1], 3))
image = tf.reshape(image, [self.dim_input])
image = tf.cast(image, tf.float32) / 255.0
elif FLAGS.datasource == 'cifar100':
image = tf.image.decode_png(image_file, channels=3)
image.set_shape((self.img_size[0], self.img_size[1], 3))
image = tf.reshape(image, [self.dim_input])
image = tf.cast(image, tf.float32) / 255.0
else:
image = tf.image.decode_png(image_file)
image.set_shape((self.img_size[0], self.img_size[1], 1))
image = tf.reshape(image, [self.dim_input])
image = tf.cast(image, tf.float32) / 255.0
image = 1.0 - image # invert
num_preprocess_threads = 1 # TODO - enable this to be set to >1
min_queue_examples = 256
examples_per_batch = self.num_classes * self.num_samples_per_class #### 5 * 2 = 10
batch_image_size = self.batch_size * examples_per_batch ### FLAGS.meta_batch_size * 10
print('Batching images')
images = tf.train.batch(
[image],
batch_size=batch_image_size,
num_threads=num_preprocess_threads,
capacity=min_queue_examples + 3 * batch_image_size,
)
all_image_batches, all_label_batches = [], []
print('Manipulating image data to be right shape')
for i in range(self.batch_size):
image_batch = images[i * examples_per_batch:(i + 1) * examples_per_batch]
if FLAGS.datasource == 'omniglot':
# omniglot augments the dataset by rotating digits to create new classes
# get rotation per class (e.g. 0,1,2,0,0 if there are 5 classes)
rotations = tf.multinomial(tf.log([[1., 1., 1., 1.]]), self.num_classes)
label_batch = tf.convert_to_tensor(labels)
new_list, new_label_list = [], []
for k in range(self.num_samples_per_class):
class_idxs = tf.range(0, self.num_classes)
class_idxs = tf.random_shuffle(class_idxs)
true_idxs = class_idxs * self.num_samples_per_class + k
new_list.append(tf.gather(image_batch, true_idxs))
if FLAGS.datasource == 'omniglot': # and FLAGS.train:
new_list[-1] = tf.stack([tf.reshape(tf.image.rot90(
tf.reshape(new_list[-1][ind], [self.img_size[0], self.img_size[1], 1]),
k=tf.cast(rotations[0, class_idxs[ind]], tf.int32)), (self.dim_input,))
for ind in range(self.num_classes)])
new_label_list.append(tf.gather(label_batch, true_idxs))
new_list = tf.concat(new_list, 0) # has shape [self.num_classes*self.num_samples_per_class, self.dim_input]
new_label_list = tf.concat(new_label_list, 0)
all_image_batches.append(new_list)
all_label_batches.append(new_label_list)
all_image_batches = tf.stack(all_image_batches)
all_label_batches = tf.stack(all_label_batches)
all_label_batches = tf.one_hot(all_label_batches, self.num_classes)
return all_image_batches, all_label_batches |
class Mother:
def __init__(self):
self.eye_color = "brown"
self.hair_color = "dark brown"
self.hair_type = "curly"
class Father:
def __init__(self):
self.eye_color = "blue"
self.hair_color = "blond"
self.hair_type = "straight"
class Child(Mother, Father):
pass
child = Child()
print(help(child)) |
"""Utility class for holding multi-channel colour data.
"""
class Colour:
def __init__(self, r, g, b, name=""):
"""Creates a Colour object for holding data on the red, green,
and blue colour channels.
:param r: the red component of the colour, expressed as a number
between 0 and 255.
:param g: the green component of the colour, expressed as a number
between 0 and 255.
:param b: the blue component of the colour, expressed as a number
between 0 and 255.
:param name: the name of the colour.
"""
self.r = max(0, min(r, 255))
self.g = max(0, min(g, 255))
self.b = max(0, min(b, 255))
self.name = name
def add(self, other):
"""Returns a new Colour whose components are the sum of other's
and this one's.
"""
return Colour(self.r + other.r, self.g + other.g, self.b + other.b)
def multiply(self, factor):
"""Returns a Colour whose components are the product of factor and
this Colour's components.
"""
return Colour(
int(self.r * factor),
int(self.g * factor),
int(self.b * factor))
def copy(self):
"""Returns a copy of this colour.
"""
return Colour(self.r, self.g, self.b)
def __str__(self):
if self.name:
return self.name
else:
return "({0}, {1}, {2})".format(self.r, self.g, self.b)
WHITE = Colour(255, 255, 255, "White")
RED = Colour(255, 0, 0, "Red")
DARK_RED = Colour(50, 0, 0, "Dark Red")
VERY_DARK_RED = Colour(25, 0, 0, "Very Dark Red")
ORANGE = Colour(150, 50, 0, "Orange")
GREEN = Colour(0, 255, 0, "Green")
DARK_GREEN = Colour(10, 20, 0, "Dark Green")
BLUE = Colour(0, 0, 255, "Blue")
DARK_BLUE = Colour(0, 0, 80, "Dark Blue")
BLACK = Colour(0, 0, 0, "Black")
GOLD = Colour(255, 130, 0, "Gold")
PURPLE = Colour(104, 0, 204, "Purple")
CYAN = Colour(0, 184, 230, "Cyan")
TWINKLE_GOLD = Colour(255, 140, 30, "Off-White")
|
print("что-то на бизарном\n\n")
print("Меня зовут Кира Йошикаге.")
print("Мне 33 года.")
print("Мой дом находится в северо-восточной части Морио, где расположены все виллы.")
print("Я не женат. Я работаю в универмаге Kame Yu и прихожу домой не позднее 8 вечера.")
print("Я не курю, но иногда выпиваю.")
print("Я ложусь спать в 11 вечера, и убеждаюсь, что я получаю ровно восемь часов сна, несмотря ни на что.")
print("Выпив стакан теплого молока и потянувшись минут двадцать перед сном, я обычно без проблем сплю до утра.")
print("Словно ребёнок я просыпаюсь утром без всякой усталости и стресса.")
print("На моём последнем осмотре мне сказали, что у меня нет никаких проблем со здоровьем.")
print("Я пытаюсь донести, что я обычный человек, который хочет жить спокойной жизнью.")
print("Я забочусь о том, чтобы не утруждать себя какими-либо врагами – победами и поражениями, которые могли бы потревожить мой сон.")
print("Вот как я отношусь к обществу, и я знаю, что это приносит мне счастье. Хотя, если бы мне пришлось сражаться, я бы никому не проиграл.") |
hparams = {
'batch_size': 32,
'epochs': 8,
'lr': 0.0001,
'name': 'mind_news',
'loss': 'cross_entropy_loss',
'optimizer': 'adam',
'version': 'v3',
'description': 'NRMS lr=5e-4, with weight_decay',
'pretrained_model': './data/utils/embedding.npy',
'model': {
'dct_size': 'auto',
'nhead': 20,
'embed_size': 300, #self_attn_size
# 'self_attn_size': 400,
'encoder_size': 300, #
'v_size': 200
},
'data': {
"title_size": 30,
"his_size": 50,
"data_format": 'news',
"npratio": 4,
'pos_k': 50,
'neg_k': 4,
'maxlen': 15
}
}
|
class Sprite:
# Getter Functions
def getCurrentFramePath(cls): pass
def getCurrentFrameDelay(cls): pass
def getCurrentPos(cls): pass
# Interface for main to call
def init(cls, xcoord: int, ycoord: int): pass
def update(cls): pass
# Interface to set sprite properties
class SpriteProperties: pass
# Interactivity
def onLeftClick(cls, event): pass
class SpritePos:
x: int
y: int
def __init__(self, x, y) -> None:
self.x = x
self.y = y
|
with open("input1.txt","r") as f:
data = f.readlines()
data[0] = data[0].split(',')
data[1] = data[1].split(',')
# Might need to change w if too big
w = 22000
h = w
# 2000x2000 Wirespace
wireSpace = [[0 for x in range(w)] for y in range(h)]
centerX = w//2
centerY = h//2
currentPosX = centerX
currentPosY = centerY
# Plot all wire commands in the first line
for command in data[0]:
#print(command)
opcode, parameter = command[0], int(command[1:])
try:
if(opcode == "R"):
for i in range(parameter):
wireSpace[currentPosY][currentPosX+i] = 1
currentPosX += parameter
elif(opcode == "L"):
for i in range(parameter):
wireSpace[currentPosY][currentPosX-i] = 1
currentPosX -= parameter
elif(opcode == "U"):
for i in range(parameter):
wireSpace[currentPosY-i][currentPosX] = 1
currentPosY -= parameter
elif(opcode == "D"):
for i in range(parameter):
wireSpace[currentPosY+i][currentPosX] = 1
currentPosY += parameter
except:
print("Failed.\nOpcode: {}\nParameter: {}\nCurrent XY Coordinate: {}, {}".format(opcode, parameter, currentPosX, currentPosY))
break;
currentPosX = centerX
currentPosY = centerY
collisionPoints = []
for command in data[1]:
#print(command)
opcode, parameter = command[0], int(command[1:])
try:
if(opcode == "R"):
for i in range(parameter):
if(wireSpace[currentPosY][currentPosX+i] == 1):
if(currentPosX != centerX & currentPosY != centerY):
wireSpace[currentPosY][currentPosX+i]=2
collisionPoints.append([currentPosX+i,currentPosY,99999,99999])
currentPosX += parameter
elif(opcode == "L"):
for i in range(parameter):
if(wireSpace[currentPosY][currentPosX-i] == 1):
if(currentPosX != centerX & currentPosY != centerY):
wireSpace[currentPosY][currentPosX-i]=2
collisionPoints.append([currentPosX-i,currentPosY,99999,99999])
currentPosX -= parameter
elif(opcode == "U"):
for i in range(parameter):
if(wireSpace[currentPosY-i][currentPosX] == 1):
if(currentPosX != centerX & currentPosY != centerY):
wireSpace[currentPosY-i][currentPosX]=2
collisionPoints.append([currentPosX,currentPosY-i,99999,99999])
currentPosY -= parameter
elif(opcode == "D"):
for i in range(parameter):
if(wireSpace[currentPosY+i][currentPosX] == 1):
if(currentPosX != centerX & currentPosY != centerY):
wireSpace[currentPosY+i][currentPosX]=2
collisionPoints.append([currentPosX,currentPosY+i,99999,99999])
currentPosY += parameter
except:
print("Failed.\nOpcode: {}\nParameter: {}\nCurrent XY Coordinate: {}, {}".format(opcode, parameter, currentPosX, currentPosY))
break;
def getStepsCountToIntersect(data,pos):
currentPosX = centerX
currentPosY = centerY
steps = 0
# Plot all wire commands in the first line
for command in data:
#print(command)
opcode, parameter = command[0], int(command[1:])
try:
if(opcode == "R"):
for i in range(parameter):
if wireSpace[currentPosY][currentPosX+i] == 2:
for j in range(len(collisionPoints)):
if( currentPosX+i == collisionPoints[j][0] and currentPosY == collisionPoints[j][1] ):
collisionPoints[j][pos] = min(collisionPoints[j][pos], steps+i)
currentPosX += parameter
elif(opcode == "L"):
for i in range(parameter):
if wireSpace[currentPosY][currentPosX-i] == 2:
for j in range(len(collisionPoints)):
if( currentPosX-i == collisionPoints[j][0] and currentPosY == collisionPoints[j][1] ):
collisionPoints[j][pos] = min(collisionPoints[j][pos], steps+i)
currentPosX -= parameter
elif(opcode == "U"):
for i in range(parameter):
if wireSpace[currentPosY-i][currentPosX] == 2:
for j in range(len(collisionPoints)):
if( currentPosX == collisionPoints[j][0] and currentPosY-i == collisionPoints[j][1] ):
collisionPoints[j][pos] = min(collisionPoints[j][pos], steps+i)
currentPosY -= parameter
elif(opcode == "D"):
for i in range(parameter):
if wireSpace[currentPosY+i][currentPosX] == 2:
for j in range(len(collisionPoints)):
if( currentPosX == collisionPoints[j][0] and currentPosY+i == collisionPoints[j][1] ):
collisionPoints[j][pos] = min(collisionPoints[j][pos], steps+i)
currentPosY += parameter
steps+=parameter
except:
print("Failed.\nOpcode: {}\nParameter: {}\nCurrent XY Coordinate: {}, {}".format(opcode, parameter, currentPosX, currentPosY))
break;
getStepsCountToIntersect(data[0],2)
getStepsCountToIntersect(data[1],3)
minSum = 99999
for point in collisionPoints:
minSum = min(minSum, point[2]+point[3])
print(minSum)
print("Succesfully ended")
|
# Definition for a binary tree node.
# class TreeNode(object):
# def __init__(self, x):
# self.val = x
# self.left = None
# self.right = None
class Solution(object):
def countNodes(self, root):
"""
:type root: TreeNode
:rtype: int
"""
# First get to the bottom of tree for its depth
depth = 0
node = root
while node:
depth += 1
node = node.left
if depth <= 1:
return depth
# count the number of leaves with bfs
self.leaves = 0
self.visit(root, depth)
# add the internal nodes
return 2 ** (depth - 1) - 1 + self.leaves
def visit(self, node, depth):
if node.left and node.right:
more = self.visit(node.left, depth - 1)
if more:
return self.visit(node.right, depth - 1)
else:
return False
elif node.left:
self.leaves += 1
return False
else:
# this is a leaf
if depth == 1:
self.leaves += 1
return True
else:
return False
|
# Sometimes we need to pass variable number of arguments in function call so in that situation if the function has fixed 2 or 3 argument written in function definition then it will not work as expected.
# The solution of that we have barges concept in python lets check example below.
def multiply(*numbers):
total = 1
for number in numbers:
total *= number
return total
print(multiply(2,2,2,2,2,2,2,2,2)) |
html_theme = 'classic'
exclude_patterns = ['_build']
latex_documents = [
('index', 'SphinxTests.tex', 'Testing maxlistdepth=10',
'Georg Brandl', 'howto'),
]
latex_elements = {
'maxlistdepth': '10',
}
|
# Simple Python3 program to find
# n'th node from end
class Node:
def __init__(self, new_data):
self.data = new_data
self.next = None
class LinkedList:
def __init__(self):
self.head = None
# createNode and and make linked list
def push(self, new_data):
new_node = Node(new_data)
new_node.next = self.head
self.head = new_node
# Function to get the nth node from
# the last of a linked list
def printNthFromLast(self, n):
temp = self.head # used temp variable
length = 0
while temp is not None:
temp = temp.next
length += 1
# print count
if n > length: # if entered location is greater
# than length of linked list
print('Location is greater than the' +
' length of LinkedList')
return
temp = self.head
for i in range(0, length - n):
temp = temp.next
print(temp.data)
# Driver Code
llist = LinkedList()
llist.push(20)
llist.push(4)
llist.push(15)
llist.push(35)
llist.printNthFromLast(4)
|
# -*- coding: UTF-8 -*-
class CustomBaseException(Exception):
def __init__(self, prefix: str, arg: str, code: int, addition=""):
self._prefix = prefix
self._arg = arg
self._code = code
self._addition = addition
def __str__(self):
if not self._prefix == "":
string = "{0}: "
else:
string = ""
string += "{1} 。CODE: {2}"
string = string.format(self._prefix, self._arg, str(self._code))
if not self._addition == "":
string += "\nADDITION:\n{0}".format(self._addition)
return string
class NoArgumentException(CustomBaseException):
def __init__(self, arg: str):
self._prefix = "不完整的命令行参数"
self._arg = arg
self._code = 10
self._addition = ""
class UnknownArgumentException(CustomBaseException):
def __init__(self, arg: str):
self._prefix = "未知的命令行参数"
self._arg = arg
self._code = 11
self._addition = ""
class AnotherException(CustomBaseException):
def __init__(self, addition: str):
self._prefix = ""
self._arg = "其它类型的错误."
self._code = 5
self._addition = addition
class InvalidCompoundException(CustomBaseException):
def __init__(self, arg: str):
self._prefix = "无效的参数组合"
self._arg = arg
self._code = 12
self._addition = ""
class InvalidPathException(CustomBaseException):
def __init__(self, target: str, arg: str):
self._prefix = "无效的{0}目录".format(target)
self._arg = arg
self._code = 13
self._addition = ""
class CannotCreatePathException(CustomBaseException):
def __init__(self, target: str, addition: str):
self._prefix = "无法创建的目录或文件"
self._arg = target
self._code = 14
self._addition = addition
class LoginFailedException(CustomBaseException):
def __init__(self, arg: str):
self._prefix = "登陆失败"
self._arg = arg
self._code = 21
self._addition = ""
class NoValidFileWarning(CustomBaseException):
def __init__(self, url=""):
self._prefix = ""
self._arg = "未找到有效文件"
if url:
self._arg += "。请自行前往论坛查看"
else:
self._arg += "。请检查是否有缓存/下载目录的读写权限或目录是否存在"
self._code = 101
self._addition = url
class WatchdogTimeoutWarning(CustomBaseException):
def __init__(self):
self._prefix = ""
self._arg = "文件监听等待超时"
self._code = 102
self._addition = ""
|
NEED = 40 # mm
def rain_amount(rain_amount: int) -> str:
give = NEED - rain_amount
if give > 0:
return f"You need to give your plant {give}mm of water"
else:
return "Your plant has had more than enough water for today!" |
# Time: O(n^3 / k)
# Space: O(n^2)
class Solution(object):
def mergeStones(self, stones, K):
"""
:type stones: List[int]
:type K: int
:rtype: int
"""
if (len(stones)-1) % (K-1):
return -1
prefix = [0]
for x in stones:
prefix.append(prefix[-1]+x)
dp = [[0]*len(stones) for _ in range(len(stones))]
for l in range(K-1, len(stones)):
for i in range(len(stones)-l):
dp[i][i+l] = min(dp[i][j]+dp[j+1][i+l] for j in range(i, i+l, K-1))
if l % (K-1) == 0:
dp[i][i+l] += prefix[i+l+1] - prefix[i]
return dp[0][len(stones)-1]
|
class Solution:
def reverse(self, x: int) -> int:
if x%10==x:
return x
elif x>0:
x = int (str(x).rstrip('0')[::-1])
return x if x <= ((1<<31)-1) else 0
elif x<0:
x = -int (str(abs(x)).rstrip('0')[::-1])
return x if x >= -(1<<31) else 0 |
def simple_mean(x, y):
"""Function that takes 2 numerical arguments and returns their mean.
"""
mean = (x + y) / 2
return mean
def advanced_mean(values):
"""Function that takes a list of numbers and returns the mean of all
the numbers in the list.
"""
total = 0
for v in values:
total += v
mean = total / len(values)
return mean
print("Mean of 2 & 3:", simple_mean(2, 3))
print("Mean of 8 & 10:", simple_mean(8, 10))
print("Mean of [2, 4, 6]", advanced_mean([2, 4, 6]))
print("Mean of values even numbers under 20:", advanced_mean(list(range(0, 20, 2))))
|
# Definition for singly-linked list.
# class ListNode(object):
# def __init__(self, x):
# self.val = x
# self.next = None
class Solution(object):
def getIntersectionNode(self, headA, headB):
"""
:type head1, head1: ListNode
:rtype: ListNode
"""
lA=0
lB=0
tA=headA
tB=headB
while(tA!=None):
lA+=1
tA=tA.next
while(tB!=None):
lB+=1
tB=tB.next
tA=headA
tB=headB
if lA>lB:
for x in range(lA-lB):
tA=tA.next
else:
for x in range(lB-lA):
tB=tB.next
while(tA!=None):
if tA==tB:
return tA
tA=tA.next
tB=tB.next
return None |
# Solution 1
# O(n^2) time / O(1) space
def twoNumberSum(array, targetSum):
for i in range(len(array) - 1):
firstNum = array[i]
for j in range(i + 1, len(array)):
secondNum = array[j]
if firstNum + secondNum == targetSum:
return [firstNum, secondNum]
return []
# Solution 2
# O(n) time / O(n) space
def twoNumberSum(array, targetSum):
nums = {}
for num in array:
potentialMatch = targetSum - num
if potentialMatch in nums:
return [potentialMatch, num]
else:
nums[num] = True
return[]
# Solution 3
# O(nLog(n)) time / O(1) space
def twoNumberSum(array, targetSum):
array.sort()
left = 0
right = len(array) - 1
while left < right:
currentSum = array[left] + array[right]
if currentSum == targetSum:
return [array[left], array[right]]
elif currentSum < targetSum:
left += 1
elif currentSum > targetSum:
right += 1
return []
|
'''
Merge sort
time complexity: O(nlogn)
space complexity: O(logn) + O(n) = O(n)
'''
# merge two sorted array
def merge(arr1, arr2):
merge_arr = []
idx1, idx2 = 0, 0
while idx1 < len(arr1) and idx2 < len(arr2):
if arr1[idx1] < arr2[idx2]:
merge_arr.append(arr1[idx1])
idx1 = idx1 + 1
else:
merge_arr.append(arr2[idx2])
idx2 = idx2 + 1
if idx1 == len(arr1):
merge_arr.extend(arr2[idx2:])
if idx2 == len(arr2):
merge_arr.extend(arr1[idx1:])
return merge_arr
def merge_sort(arr):
if not arr or len(arr) == 0:
return None
if len(arr) == 1:
return arr
else:
mid = len(arr) // 2
l_arr = merge_sort(arr[:mid]) # [0, mid)
r_arr = merge_sort(arr[mid:]) # [mid, end]
return merge(l_arr, r_arr)
print(5/2.0) |
# coding: utf-8
AUTHOR = 'R-Koubou'
VERSION = '0.7.0'
URL = 'https://github.com/r-koubou/XLS2ExpressionMap'
VERSION_0_6 = 0x006000
VERSION_0_7 = 0x007000
VERSION_NUMBER = VERSION_0_7
if __name__ == '__main__':
print( VERSION )
|
"""Top-level package for gist."""
__author__ = """Ammar Najjar"""
__email__ = 'najjarammar@protonmail.com'
__version__ = '0.1.0'
|
expected_output = {
"route-information": {
"route-table": [
{
"active-route-count": "13",
"destination-count": "13",
"hidden-route-count": "0",
"holddown-route-count": "0",
"rt": [
{
"rt-announced-count": "1",
"rt-destination": "10.55.0.1/32",
"rt-entry": {
"active-tag": "*",
"age": {"#text": "13"},
"announce-bits": "2",
"announce-tasks": "0-KRT 5-Resolve tree 1",
"as-path": "AS path: I (Originator)",
"bgp-path-attributes": {
"attr-as-path-effective": {
"aspath-effective-string": "AS path:",
"attr-value": "I (Originator)",
}
},
"cluster-list": "10.16.2.2 10.64.4.4",
"gateway": "10.16.2.2",
"local-as": "2",
"metric2": "3",
"nh": [
{
"nh-string": "Next hop",
"session": "3bf",
"to": "10.145.0.2",
"via": "ge-0/0/0.0",
}
],
"nh-address": "0xbb68bf4",
"nh-index": "595",
"nh-reference-count": "4",
"nh-type": "Router",
"peer-as": "2",
"peer-id": "10.16.2.2",
"preference": "170",
"preference2": "101",
"protocol-name": "BGP",
"protocol-nh": [
{
"indirect-nh": "0xc298604 1048574 INH Session ID: 0x3c1",
"to": "10.100.5.5",
},
{
"forwarding-nh-count": "1",
"indirect-nh": "0xc298604 1048574 INH Session ID: 0x3c1",
"metric": "3",
"nh": [
{
"nh-string": "Next hop",
"session": "3bf",
"to": "10.145.0.2",
"via": "ge-0/0/0.0",
}
],
"output": "10.100.5.5/32 Originating RIB: inet.0\nForwarding nexthops: 1\nNexthop: 10.145.0.2 via ge-0/0/0.0\nSession Id: 3bf\n",
"to": "10.100.5.5",
},
],
"rt-entry-state": "Active Int Ext",
"task-name": "BGP_10.16.2.2.2",
"validation-state": "unverified",
},
"rt-entry-count": {"#text": "1", "@junos:format": "1 entry"},
"tsi": {
"#text": "KRT in-kernel 10.55.0.1/32 -> {indirect(1048574)}\nLocalpref: 100"
},
}
],
"table-name": "inet.0",
"total-route-count": "13",
}
]
}
}
|
class Solution(object):
def removeDuplicates(self, nums):
"""
:type nums: List[int]
:rtype: int
"""
k = 2
if len(nums) == 0:
return 0
m = 1
count = 1
for i in range(1, len(nums)):
if nums[i] == nums[i - 1]:
if count < k:
nums[m] = nums[i]
m += 1
count += 1
else:
count = 1
nums[m] = nums[i]
m += 1
return m
|
class Solution:
def partition(self, s: str) -> List[List[str]]:
ans = []
self.helper(s, 0, [], ans)
return ans
def helper(self, s, idx, partition, ans):
if idx == len(s):
ans.append(partition[:])
else:
for end in range(idx + 1, len(s) + 1):
nxt = s[idx:end]
if nxt == nxt[::-1]:
partition.append(nxt)
self.helper(s, end, partition, ans)
partition.pop()
|
class KafkaTimeoutError(Exception):
"""
Error raised when the poll from Kafka returns nothing and therefore there is nothing to read.
"""
pass # pylint:disable=unnecessary-pass
|
'''70 Crie um programa que leia o nome e o preço de vários produtos.
O programa deverá perguntar se o usuário vai continuar ou não. No final, mostre:
A) qual é o total gasto na compra.
B) quantos produtos custam mais de R$1000.
C) qual é o nome do produto mais barato.'''
total = produtos = menor = 0
while True:
nome = str(input('Nome do produto: '))
preço = int(input('Preço: '))
if preço > 1000: produtos += 1
if menor > preço or total == 0:
barato = nome
menor = preço
total += preço
continuar = str(input('Deseja continuar? [S/N] ')).upper().strip()[0]
if continuar in 'N': break
print(f'Total a pagar: R${total:.2f}')
print(f'Produtos acima de R$1.000,00: {produtos} ')
print(f'O produto mais barato é {barato}') |
# page 100 // homework 2021-01-07
# TASK 1: fix bug
#
total = 0
number = 1 # bugfix: define the 'number' varible to a value that meets the condition of the loop below
# nbb: the proposed solution of the book to duplicate functional code is a no go for pre-initializing variables (duplicate code -> increase of bugs)
while number != 0:
number = input("enter a number: ")
number = int(number)
total = total + number
print(total)
|
class RepeaterBounds(object, IDisposable):
"""
Represents bounds of the array of repeating references in 0,1,or 2 dimensions.
(See Autodesk.Revit.DB.RepeatingReferenceSource).
"""
def AdjustForCyclicalBounds(self, coordinates):
"""
AdjustForCyclicalBounds(self: RepeaterBounds,coordinates: RepeaterCoordinates) -> RepeaterCoordinates
Shifts the input coordinates in the cyclical dimensions so that they fall in
the [lower bounds,upper bounds] range.
coordinates: The coordinates.
Returns: The adjusted coordinates.
"""
pass
def AreCoordinatesInBounds(self, coordinates, treatCyclicalBoundsAsInfinite):
"""
AreCoordinatesInBounds(self: RepeaterBounds,coordinates: RepeaterCoordinates,treatCyclicalBoundsAsInfinite: bool) -> bool
Determines whether given coordinates are within the bounds.
coordinates: The coordinates.
treatCyclicalBoundsAsInfinite: True if cyclical directions should be treated as unbounded.
Returns: True if the coordinates are within the bounds.
"""
pass
def Dispose(self):
""" Dispose(self: RepeaterBounds) """
pass
def GetLowerBound(self, dimension):
"""
GetLowerBound(self: RepeaterBounds,dimension: int) -> int
Returns the smallest index of the array in the given dimension.
dimension: The dimension.
Returns: The smallest index of the array in the given dimension.
"""
pass
def GetUpperBound(self, dimension):
"""
GetUpperBound(self: RepeaterBounds,dimension: int) -> int
Returns the highest index of the array in the given dimension.
dimension: The dimension.
Returns: The highest index of the array in the given dimension.
"""
pass
def IsCyclical(self, dimension):
"""
IsCyclical(self: RepeaterBounds,dimension: int) -> bool
True if the array doesn't have finite bounds in the given dimension. Cyclical
bounds indicate that the array forms a closed loop in the given dimension.
dimension: The dimension.
Returns: True if the bounds are cyclical in the given dimension.
"""
pass
def ReleaseUnmanagedResources(self, *args):
""" ReleaseUnmanagedResources(self: RepeaterBounds,disposing: bool) """
pass
def __enter__(self, *args):
""" __enter__(self: IDisposable) -> object """
pass
def __exit__(self, *args):
""" __exit__(self: IDisposable,exc_type: object,exc_value: object,exc_back: object) """
pass
def __init__(self, *args):
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
def __repr__(self, *args):
""" __repr__(self: object) -> str """
pass
DimensionCount = property(
lambda self: object(), lambda self, v: None, lambda self: None
)
"""The number of dimensions of the bounds (0,1 or 2 for zero,one or two dimensional arrays.)
Get: DimensionCount(self: RepeaterBounds) -> int
"""
IsValidObject = property(
lambda self: object(), lambda self, v: None, lambda self: None
)
"""Specifies whether the .NET object represents a valid Revit entity.
Get: IsValidObject(self: RepeaterBounds) -> bool
"""
|
# Copyright 2021 The Cross-Media Measurement Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""World Federation of Advertisers (WFA) GitHub repo macros."""
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
_RELEASE_URL_TEMPLATE = "https://github.com/world-federation-of-advertisers/{repo}/archive/refs/tags/v{version}.tar.gz"
_COMMIT_URL_TEMPLATE = "https://github.com/world-federation-of-advertisers/{repo}/archive/{commit}.tar.gz"
_PREFIX_TEMPLATE = "{repo}-{suffix}"
def wfa_repo_archive(name, repo, sha256, version = None, commit = None):
"""Adds a WFA repository archive target.
Args:
name: target name
repo: name of repository in world-federation-of-advertisers organization
sha256: SHA256 hash of archive
version: release version number. Either this or commit must be specified.
commit: commit hash. Either this or version must be specified.
"""
if version:
suffix = version
url = _RELEASE_URL_TEMPLATE.format(repo = repo, version = version)
elif commit:
suffix = commit
url = _COMMIT_URL_TEMPLATE.format(repo = repo, commit = commit)
else:
fail("version or commit must be specified")
http_archive(
name = name,
urls = [url],
strip_prefix = _PREFIX_TEMPLATE.format(repo = repo, suffix = suffix),
sha256 = sha256,
)
|
val = float(input('Qual o valor das compras? (€) - '))
print('** FORMAS DE PAGAMENTO **')
fp = int(input('[ 1 ] à vista dinheiro/Cheque \n'
'[ 2 ] à vista cartão \n'
'[ 3 ] 2x no cartão \n'
'[ 4 ] 3x ou mais no cartão \n'
' - Qual a opção? - '))
if 1 <= fp <= 4:
if fp == 1:
print('A compra tem um valor de {:.2f} tendo um desconto de {:.2f}€ (10%) ficando com o valor de {}€.'.format(val, (val * 0.1), val-(val*0.1)))
elif fp == 2:
print('A compra tem um valor de {:.2f} tendo um desconto de {:.2f}€ (5%) ficando com o valor de {}€.'.format(val, (val * 0.05), val-(val*0.05)))
elif fp == 3:
print('A compra tem um valor de {:.2f} não tendo qualquer desconto ou agravamento'.format(val))
print('Ficará a pagar {:.2f}€ por prestação.'.format(val / 2))
elif fp == 4:
np = int(input("Qual o numero de prestações? - "))
prest = (val + (val * 0.2)) / np
print('A compra tem um valor de {:.2f} tendo um agravamento de {:.2f}€ (20%) ficando com o valor de {:.2f}€.'.format(val, (val*.2), val + (val * 0.2)))
print('Ficará a pagar {:.2f}€ por prestação.'.format(prest))
else:
print('Opção de pagamento não válida!')
|
a = True
b = False
print(a is b)
print(a is not b)
|
expected_output = {
"interfaces": {
"Ethernet1/3": {
"neighbors": {
"fe80::f816:3eff:feff:9f9b": {
"homeagent_flag": 0,
"is_router": True,
"addr_flag": 0,
"ip": "fe80::f816:3eff:feff:9f9b",
"lifetime": 1800,
"current_hop_limit": 64,
"retransmission_time": 0,
"last_update": "2.8",
"mtu": 1500,
"preference": "medium",
"other_flag": 0,
"reachable_time": 0,
"prefix": {
"2001:db8:c56d:1::/64": {
"preferred_lifetime": 604800,
"valid_lifetime": 2592000,
"autonomous_flag": 1,
"onlink_flag": 1,
}
}
}
},
"interface": "Ethernet1/3"
},
"Ethernet1/1": {
"neighbors": {
"fe80::f816:3eff:feff:e5a2": {
"homeagent_flag": 0,
"is_router": True,
"addr_flag": 0,
"ip": "fe80::f816:3eff:feff:e5a2",
"lifetime": 1800,
"current_hop_limit": 64,
"retransmission_time": 0,
"last_update": "3.2",
"mtu": 1500,
"preference": "medium",
"other_flag": 0,
"reachable_time": 0,
"prefix": {
"2001:db8:c56d:4::/64": {
"preferred_lifetime": 604800,
"valid_lifetime": 2592000,
"autonomous_flag": 1,
"onlink_flag": 1,
}
}
}
},
"interface": "Ethernet1/1"
},
"Ethernet1/4": {
"neighbors": {
"fe80::f816:3eff:feff:4908": {
"homeagent_flag": 0,
"is_router": True,
"addr_flag": 0,
"ip": "fe80::f816:3eff:feff:4908",
"lifetime": 1800,
"current_hop_limit": 64,
"retransmission_time": 0,
"last_update": "2.3",
"mtu": 1500,
"preference": "medium",
"other_flag": 0,
"reachable_time": 0,
"prefix": {
"2001:db8:c8d1:1::/64": {
"preferred_lifetime": 604800,
"autonomous_flag": 1,
"valid_lifetime": 2592000,
"onlink_flag": 1,
}
}
}
},
"interface": "Ethernet1/4"
},
"Ethernet1/2": {
"neighbors": {
"fe80::f816:3eff:feff:e455": {
"homeagent_flag": 0,
"is_router": True,
"addr_flag": 0,
"ip": "fe80::f816:3eff:feff:e455",
"lifetime": 1800,
"current_hop_limit": 64,
"retransmission_time": 0,
"last_update": "1.5",
"mtu": 1500,
"preference": "medium",
"other_flag": 0,
"reachable_time": 0,
"prefix": {
"2001:db8:c8d1:4::/64": {
"preferred_lifetime": 604800,
"onlink_flag": 1,
"valid_lifetime": 2592000,
"autonomous_flag": 1,
},
"2001:db8:888c:4::/64": {
"preferred_lifetime": 604800,
"onlink_flag": 1,
"valid_lifetime": 2592000,
"autonomous_flag": 1,
}
}
}
},
"interface": "Ethernet1/2"
}
}
}
|
words=[
'redcoat',
'railing',
'waist',
'pinnacle',
'bribery',
'abjure',
'Swiss',
'chancel',
'groveler',
'chaser',
'curlew',
'markedly',
'admirer',
'coarse',
'slough',
'debrief',
'saltwater',
'spotty',
'photon',
'nephew',
'swath',
'elder',
'overnight',
'charm',
'rations',
'shrivel',
'quibbler',
'British',
'secretary',
'adamantly',
'rabble',
'concerned',
'gouty',
'morpheme',
'insanely',
'regretful',
'partook',
'canticle',
'median',
'clearing',
'stretcher',
'leisure',
'whoop',
'muddy',
'blackball',
'julienne',
'prince',
'shaver',
'weeds',
'clique',
'laggard',
'tempo',
'swamp',
'awfully',
'Saturday',
'oxygenate',
'unclasp',
'celibate',
'carryover',
'inebriate',
'starling',
'profuse',
'manicure',
'summation',
'limpness',
'baker',
'windstorm',
'thoracic',
'cosmetics',
'tutor',
'tipsily',
'cartel',
'alarm',
'tenuously',
'hockey',
'layman',
'drier',
'valentine',
'vender',
'enthral',
'equitable',
'vertebral',
'eleventh',
'hickory',
'basic',
'earphone',
'optometry',
'rugby',
'serape',
'porpoise',
'sealant',
'headlight',
'tungsten',
'eminent',
'adverb',
'franc',
'denseness',
'pipeline',
'copyright',
'aerie',
'jelly',
'several',
'beyond',
'seethe',
'lilting',
'assail',
'bedeck',
'scrapbook',
'lipstick',
'uncannily',
'Venus',
'squirt',
'diadem',
'slide',
'windy',
'penal',
'schoolboy',
'riverside',
'absurd',
'sweetly',
'virago',
'sexuality',
'crested',
'antibody',
'proud',
'periscope',
'occupant',
'tingle',
'larynges',
'avowed',
'sprout',
'compare',
'flooring',
'biosphere',
'residency',
'lateness',
'beachhead',
'serially',
'delirium',
'carcass',
'monotony',
'sunfish',
'invective',
'length',
'gaggle',
'guard',
'narrowly',
'shorten',
'amorphous',
'mystery',
'imbecile',
'shinbone',
'thing',
'bright',
'bowler',
'livid',
'bidet',
'clavicle',
'stilted',
'margin',
'pudding',
'grating',
'restore',
'tidal',
'module',
'shirker',
'hurry',
'lightly',
'witch',
'retaliate',
'payoff',
'Belgian',
'impending',
'magnolia',
'flight',
'genital',
'bashful',
'loftily',
'vital',
'corruptly',
'expediter',
'civvies',
'woodenly',
'manganese',
'foretell',
'ferocious',
'axial',
'fulcrum',
'noble',
'penguin',
'gannet',
'misspell',
'trace',
'anarchic',
'openly',
'splatter',
'tailwind',
'dusky',
'ignition',
'scarecrow',
'strip',
'indelibly',
'archenemy',
'workforce',
'impend',
'niece',
'chidden',
'dislike',
'marmoset',
'anvil',
'windburn',
'crewman',
'stifle',
'brandish',
'waive',
'prosecute',
'cankerous',
'gentrify',
'deadline',
'ridden',
'pillion',
'barnyard',
'outgrew',
'agree',
'rhetoric',
'heartsick',
'ovulate',
'symbolize',
'tenderize',
'kitty',
'glumness',
'retentive',
'fearfully',
'congruity',
'cornice',
'field',
'gently',
'leeway',
'foolishly',
'ferryboat',
'repast',
'albeit',
'inflict',
'dogfish',
'overprice',
'infidel',
'vehicular',
'stomp',
'bravado',
'rudely',
'sisal',
'gradient',
'splotch',
'negative',
'binomial',
'crush',
'speak',
'baseness',
'glimmer',
'bisexual',
'private',
'aspartame',
'carry',
'municipal',
'meteoroid',
'dialog',
'slaver',
'deathly',
'holdup',
'website',
'finely',
'sideburns',
'adversity',
'asset',
'dowager',
'adjunct',
'tollgate',
'analogue',
'achieve',
'apricot',
'roughly',
'magma',
'skinhead',
'anneal',
'whither',
'opinion',
'plaintiff',
'penalize',
'indices',
'excavate',
'imbed',
'bombast',
'saute',
'uncharted',
'palladium',
'farce',
'fossil',
'rococo',
'dogwood',
'incisive',
'childlike',
'tails',
'pickaxe',
'blacktop',
'enclosure',
'beefsteak',
'newcomer',
'topic',
'forge',
'detailed',
'clubfoot',
'murkiness',
'rowdyism',
'vicarage',
'outcome',
'unvarying',
'favorable',
'solemn',
'libretto',
'salaried',
'baleful',
'gambler',
'floss',
'briskness',
'numbly',
'timeworn',
'resonate',
'meekly',
'pupae',
'simply',
'tarantula',
'western',
'pacific',
'consider',
'adman',
'violation',
'storm',
'barley',
'blithe',
'parabolic',
'takeout',
'hobble',
'dichotomy',
'sickness',
'lightness',
'tester',
'impostor',
'precious',
'Cajun',
'conductor',
'veranda',
'plenteous',
'Oriental',
'Egyptian',
'caught',
'finch',
'beach',
'seaman',
'Utopia',
'knead',
'lactose',
'polonaise',
'locket',
'shopper',
'belle',
'merciful',
'acting',
'prissy',
'custodial',
'jalopy',
'Kelvin',
'zippy',
'insulting',
'funicular',
'gouge',
'invent',
'sullenly',
'plunk',
'hiker',
'avoidance',
'serial',
'humiliate',
'chromatic',
'hooray',
'ether',
'pointy',
'junket',
'inquiry',
'dated',
'guarantee',
'performer',
'honeybee',
'violist',
'broke',
'paving',
'mastoid',
'sequence',
'furrier',
'twister',
'bellboy',
'caesura',
'cubic',
'fraud',
'ersatz',
'starchy',
'evilly',
'induct',
'salvo',
'hatchback',
'cowardly',
'cohesive',
'memoranda',
'anatomist',
'hobnob',
'pasturage',
'mangle',
'insoluble',
'striking',
'guile',
'grippe',
'ambulance',
'reissue',
'highball',
'synch',
'convivial',
'decathlon',
'ruination',
'heirloom',
'funnily',
'metro',
'limpidity',
'pygmy',
'cause',
'racial',
'dishrag',
'generous',
'masked',
'unsavory',
'lamprey',
'Pentecost',
'graceless',
'ulcer',
'whiplash',
'lullaby',
'daring',
'waistcoat',
'afoul',
'painter',
'catcher',
'painful',
'hoarfrost',
'commando',
'endurance',
'phoneme',
'herpes',
'birdbath',
'honor',
'Maltese',
'wrinkle',
'cirrus',
'erogenous',
'manifold',
'juicer',
'unusual',
'arable',
'seniority',
'palette',
'pebbly',
'coerce',
'March',
'posthaste',
'duffer',
'udder',
'regards',
'seaboard',
'sardonic',
'parallel',
'federate',
'aspect',
'skeptic',
'phonics',
'steppe',
'thesis',
'unbeaten',
'charbroil',
'wreak',
'crook',
'nitpicker',
'originate',
'Tuesday',
'ringlet',
'sheathe',
'apple',
'orangeade',
'unlisted',
'unbelief',
'gimmick',
'Buddhism',
'strained',
'stump',
'arrive',
'mishmash',
'grimly',
'paucity',
'platoon',
'unhurt',
'universe',
'willingly',
'timbre',
'whilst&',
'semester',
'wombat',
'epoxy',
'malarkey',
'cello',
'snuff',
'buggy',
'ravage',
'grown',
'future',
'crawfish',
'etymology',
'benighted',
'dogie',
'indicate',
'cheetah',
'vasectomy',
'milkmaid',
'parapet',
'hesitancy',
'cyclotron',
'abstract',
'puree',
'prudish',
'assign',
'mighty',
'stately',
'playoff',
'sunset',
'decide',
'engaging',
'fiery',
'televise',
'peaked',
'dapple',
'goddess',
'brutish',
'exemplary',
'fishhook',
'ulcerate',
'dingo',
'organ',
'hygiene',
'megahertz',
'cumuli',
'mutinous',
'hibachi',
'mohair',
'fling',
'frequency',
'usefully',
'readjust',
'fully',
'obtrude',
'turpitude',
'racily',
'watchband',
'worrywart',
'damson',
'chiropody',
'baptism',
'stage',
'pitch',
'allusion',
'leniency',
'slyness',
'fellatio',
'fission',
'lifer',
'splotchy',
'geniality',
'coequal',
'portico',
'funniness',
'September',
'sorrel',
'winded',
'homeward',
'joker',
'heave',
'fraction',
'topple',
'catalyst',
'ultra',
'purple',
'sartorial',
'fireproof',
'scarf',
'modem',
'fishy',
'hamper',
'virtuosi',
'gusto',
'neutral',
'execrable',
'idiotic',
'unceasing',
'trait',
'rethink',
'football',
'spheroid',
'phalanges',
'paganism',
'creamery',
'disfigure',
'peanuts',
'frigid',
'Western',
'vertex',
'burial',
'weekly',
'disable',
'audio',
'dumps',
'jargon',
'cowhand',
'marry',
'Democrat',
'enrich',
'witty',
'authority',
'roadside',
'verbal',
'whimsical',
'bestowal',
'eradicate',
'fuselage',
'troth',
'baseman',
'foreleg',
'soften',
'boner',
'lanolin',
'primacy',
'neglect',
'overdose',
'credence',
'phonology',
'random',
'harry',
'covert',
'antiwar',
'occlude',
'Roquefort',
'swelter',
'trickster',
'coaster',
'silken',
'myopia',
'overpaid',
'twain',
'glaucoma',
'crises',
'cheek',
'lineal',
'photo',
'jackdaw',
'Freudian',
'giantess',
'brood',
'plenitude',
'spectrum',
'torpid',
'starboard',
'materiel',
'extrusion',
'headdress',
'outbreak',
'monogram',
'purgatory',
'daylight',
'hangdog',
'emphysema',
'baggy',
'domineer',
'oneness',
'sanitary',
'sprocket',
'rapturous',
'shudder',
'amebae',
'apoplexy',
'checkup',
'bowman',
'furlough',
'royalty',
'metre&',
'bandanna',
'resent',
'bigot',
'rowdiness',
'cackle',
'bistro',
'vaccine',
'sculpture',
'endow',
'feather',
'sallow',
'clammy',
'shortwave',
'gigantic',
'goner',
'promoter',
'pennon',
'burner',
'sachet',
'visual',
'startle',
'mobster',
'survey',
'recondite',
'lukewarm',
'achoo',
'yodeler',
'fatuously',
'dissonant',
'mirth',
'pizzazz',
'barrow',
'highbrow',
'cavity',
'peseta',
'hovel',
'puffiness',
'badger',
'ratty',
'diagnoses',
'military',
'ginkgo',
'Allah',
'strenuous',
'proudly',
'nightie',
'timely',
'adulthood',
'milkman',
'masonry',
'davenport',
'frigidity',
'midget',
'grapple',
'defile',
'unseat',
'trimester',
'bedlam',
'stammerer',
'turbulent',
'infection',
'burden',
'jerky',
'bearded',
'precursor',
'dropper',
'jaded',
'dimple',
'bedevil',
'papery',
'animosity',
'wiggly',
'cutlet',
'famine',
'brown',
'newsprint',
'corncob',
'customary',
'brain',
'demote',
'blaze',
'exhausted',
'godson',
'fidelity',
'watershed',
'hygienic',
'bowel',
'limited',
'tubercle',
'nameless',
'jaundiced',
'bunting',
'involve',
'obsession',
'prairie',
'hitch',
'egotism',
'Jonah',
'digitalis',
'tactics',
'frontage',
'warhead',
'pedantry',
'grinder',
'factual',
'enervate',
'stockade',
'sheriff',
'italics',
'opulent',
'untiring',
'penance',
'loafer',
'relative',
'naked',
'nullify',
'grounder',
'prodigal',
'tufted',
'follow',
'wadding',
'skimp',
'inhibit',
'uncouple',
'Brahman',
'modulator',
'octave',
'Pyrex',
'reappear',
'reeducate',
'ascendant',
'symphony',
'stroke',
'amply',
'flatfoot',
'Brazilian',
'enliven',
'developer',
'applause',
'Islamic',
'topaz',
'corpuscle',
'shears',
'camisole',
'notebook',
'mildew',
'ulcerous',
'serge',
'skinless',
'pluralize',
'preamble',
'desecrate',
'eyeful',
'pathology',
'rheostat',
'cuteness',
'profane',
'oilskin',
'radially',
'perfumery',
'telescope',
'pilaff',
'upholster',
'delirious',
'planet',
'snippet',
'nutria',
'aforesaid',
'washboard',
'forceps',
'gaffe',
'hooey',
'Syrian',
'crooner',
'fixity',
'fogginess',
'blast',
'factually',
'unpopular',
'cribbage',
'palmy',
'hormone',
'Dominican',
'kibosh',
'pastor',
'fantastic',
'stamina',
'handle',
'ukulele',
'cosmology',
'nomad',
'alfresco',
'solidness',
'cuneiform',
'bellow',
'grudge',
'lighting',
'exposure',
'surface',
'hairpiece',
'knowledge',
'notorious',
'detente',
'legion',
'insured',
'polyp',
'lustful',
'conjure',
'sailfish',
'orally',
'curtsey',
'copiously',
'dissipate',
'gibber',
'ossify',
'bursar',
'quarto',
'beginning',
'perform',
'scalpel',
'maidenly',
'polish',
'fairway',
'safely',
'mange',
'tenor',
'wraith',
'woodshed',
'thong',
'marmot',
'chose',
'rookery',
'racially',
'lithium',
'ruling',
'retire',
'exertion',
'whether',
'shorts',
'unctuous',
'dungaree',
'anthology',
'demagogy',
'banjo',
'tartan',
'cornball',
'flatfish',
'fullness',
'egret',
'dandelion',
'postnatal',
'chief',
'gaseous',
'contusion',
'dozen',
'mentality',
'saucily',
'passively',
'knowing',
'miscreant',
'deceiver',
'inland',
'revocable',
'scribble',
'deserve',
'tremulous',
'forearm',
'intestate',
'auger',
'function',
'carrousel',
'scale',
'tiredness',
'demand',
'bestir',
'cosponsor',
'scrubber',
'rattler',
'dislocate',
'temporal',
'pinpoint',
'scheming',
'throe',
'animated',
'cattiness',
'overseer',
'tattle',
'speedster',
'keystroke',
'forlornly',
'accused',
'gurgle',
'resume',
'impugn',
'stumble',
'trench',
'myrtle',
'freighter',
'similar',
'border',
'foxhole',
'sunlit',
'advisable',
'Polaris',
'wrist',
'downsize',
'fugitive',
'piecework',
'katydid',
'vocalize',
'sticker',
'testament',
'wriggle',
'endive',
'opiate',
'infinite',
'slope',
'knocker',
'abundance',
'malady',
'sternum',
'disclose',
'client',
'psalm',
'trial',
'ingestion',
'surmount',
'yearling',
'greedy',
'cardiac',
'reason',
'deplore',
'dietary',
'release',
'spoke',
'trappings',
'scrota',
'Mafia',
'pundit',
'borscht',
'remodel',
'equitably',
'shape',
'gearshift',
'sward',
'raven',
'despotism',
'yarmulke',
'magically',
'wheels',
'newness',
'rewound',
'cherish',
'colored',
'bawdily',
'fjord',
'calorific',
'wallet',
'biorhythm',
'uppercut',
'briefly',
'lying',
'hearten',
'pivot',
'lovesick',
'archaic',
'mischance',
'perish',
'cytoplasm',
'sunscreen',
'platter',
'potter',
'sunbathe',
'junkyard',
'magpie',
'periphery',
'cooler',
'spook',
'excrete',
'barrier',
'epoch',
'larder',
'ringworm',
'vanquish',
'pantomime',
'lookout',
'gadget',
'unquote',
'invidious',
'meteor',
'embezzle',
'amuse',
'beekeeper',
'dissect',
'canard',
'offshoot',
'bemoan',
'launcher',
'freebee',
'protege',
'cashier',
'autonomy',
'hangover',
'showplace',
'unfailing',
'dormice',
'mentor',
'variant',
'broom',
'Gallic',
'retrial',
'deadbeat',
'scuttle',
'spaceship',
'garbage',
'tolerant',
'hectic',
'denounce',
'bloodbath',
'locker',
'threesome',
'blessing',
'walrus',
'tramp',
'misspend',
'terms',
'detection',
'zillion',
'geodesic',
'formalize',
'lineman',
'goriness',
'armor',
'cantor',
'humane',
'dullard',
'mannered',
'sulkiness',
'nadir',
'flannel',
'gravel',
'venal',
'nodular',
'wittingly',
'magnifier',
'votive',
'kindred',
'Swedish',
'wrestle',
'improper',
'diction',
'slushy',
'twenty',
'premature',
'breezy',
'ebony',
'bishop',
'Amerasian',
'shamble',
'coherent',
'educator',
'terrible',
'rebus',
'breeze',
'doormat',
'woody',
'soviet',
'tripe',
'abreast',
'interview',
'emulsify',
'bearer',
'float',
'veldt',
'growth',
'clearness',
'scrawl',
'piercing',
'reentry',
'synthetic',
'confidant',
'budgie',
'excise',
'Nazism',
'roadwork',
'Filipino',
'rural',
'mediation',
'adversary',
'bonanza',
'Israeli',
'tariff',
'esophagus',
'enactment',
'sensory',
'undersell',
'fishnet',
'shipshape',
'formality',
'shred',
'fatigue',
'instep',
'tearful',
'splendid',
'tarot',
'antipasto',
'orangutan',
'appendix',
'antiquity',
'interfere',
'wader',
'besiege',
'sweeping',
'sibling',
'backlash',
'keyboard',
'candid',
'ludicrous',
'whiny',
'detention',
'coupon',
'plural',
'chummy',
'eternally',
'dolorous',
'substrata',
'masses',
'hysteria',
'buttock',
'drunkenly',
'sadden',
'peasantry',
'cunning',
'dialyses',
'venomous',
'diurnal',
'renumber',
'lacerate',
'affected',
'keystone',
'encode',
'and/or',
'drive',
'given',
'traitor',
'tongs',
'meteoric',
'interpose',
'fridge',
'judicious',
'qualm',
'rustproof',
'sanguine',
'allow',
'bristly',
'verdure',
'Pakistani',
'analogous',
'snafu',
'classic',
'uncounted',
'closet',
'remaining',
'plain',
'colic',
'perfect',
'uptake',
'pleat',
'residual',
'necklace',
'voltmeter',
'linkup',
'warfare',
'Methodism',
'cabana',
'workhorse',
'potassium',
'forebear',
'canister',
'rearwards',
'hooligan',
'costly',
'disobey',
'homestead',
'effluent',
'unhinge',
'animator',
'rootless',
'immediacy',
'article',
'determine',
'signally',
'entree',
'shortly',
'genome',
'notion',
'citrus',
'crackdown',
'backwards',
'stillborn',
'mechanize',
'professor',
'lactation',
'adder',
'flunkey',
'reputably',
'homer',
'bearing',
'railway',
'clobber',
'holocaust',
'colloquy',
'attrition',
'joyless',
'fatal',
'tiara',
'sourly',
'diphthong',
'moustache',
'flavorful',
'nether',
'Estonian',
'likeable',
'starch',
'obliging',
'privet',
'procurer',
'mucous',
'psych',
'bodkin',
'weird',
'elitist',
'possibly',
'become',
'tarragon',
'ovarian',
'befell',
'motorcade',
'libation',
'dawdle',
'obedience',
'tactile',
'maharaja',
'apparel',
'lockout',
'perimeter',
'hither',
'spanking',
'footage',
'suavely',
'overshot',
'flagstaff',
'drought',
'clinch',
'fertilize',
'plume',
'postal',
'frenetic',
'shallot',
'sepsis',
'throw',
'efficient',
'makeshift',
'forklift',
'assailant',
'homicidal',
'cathode',
'compute',
'freeway',
'outburst',
'prelate',
'antigen',
'choker',
'puzzle',
'useable',
'sheep',
'erection',
'wristband',
'thyroid',
'potpourri',
'boutique',
'flock',
'preserve',
'volubly',
'pedagogic',
'paean',
'defrost',
'genre',
'provision',
'grievance',
'cagily',
'purvey',
'syllogism',
'everglade',
'syllabic',
'reddish',
'graffiti',
'penury',
'hailstorm',
'delivery',
'retention',
'gazelle',
'locally',
'workload',
'orgasm',
'zebra',
'goatherd',
'gradation',
'tapir',
'penes',
'peacock',
'cicada',
'blackbird',
'ladder',
'tuneless',
'behind',
'shutter',
'dismantle',
'nucleus',
'earthen',
'amaryllis',
'schematic',
'relevancy',
'ancestry',
'pampas',
'duality',
'quinine',
'readable',
'emetic',
'defer',
'garnishee',
'bounteous',
'selector',
'chalk',
'overdone',
'despatch',
'greasy',
'dejection',
'aureole',
'kilogram',
'soppy',
'streaky',
'procure',
'hastiness',
'shire',
'spire',
'leitmotif',
'dependent',
'campsite',
'deranged',
'vacuity',
'abase',
'whisker',
'backstage',
'shadowbox',
'elopement',
'smokiness',
'expert',
'diplomacy',
'misshapen',
'undersold',
'thunder',
'marina',
'drudgery',
'paragraph',
'where',
'croupier',
'cheesy',
'assort',
'scaly',
'clownish',
'booster',
'fabric',
'precise',
'thresher',
'sprinter',
'wayfaring',
'slice',
'cobbler',
'apiary',
'jeopardy',
'sloppy',
'potboiler',
'galleon',
'reprint',
'earlobe',
'verbiage',
'cuddly',
'truthful',
'toreador',
'nuclei',
'overact',
'refute',
'citizen',
'limitless',
'backpedal',
'almost',
'uteri',
'sudsy',
'typeset',
'leaky',
'taxpayer',
'disagree',
'traduce',
'childless',
'bouncy',
'spate',
'peddler',
'grate',
'twill',
'lathe',
'behalf',
'nihilist',
'constancy',
'gradual',
'garter',
'Hindu',
'flagella',
'idyllic',
'overbite',
'octopus',
'elucidate',
'snuck',
'bonehead',
'pithy',
'strange',
'goldfish',
'salable',
'perhaps',
'pipsqueak',
'fussily',
'belay',
'tracing',
'incipient',
'adultery',
'cubit',
'greetings',
'congruous',
'gerbil',
'snivel',
'reckon',
'marsh',
'lapse',
'elector',
'runway',
'augury',
'tangibly',
'deficient',
'driftwood',
'imitative',
'reprieve',
'fanfare',
'unstuck',
'corrode',
'recluse',
'bystander',
'curvy',
'celebrate',
'gentility',
'patty',
'bespoken',
'virulence',
'backward',
'joyride',
'biweekly',
'germicide',
'detritus',
'satirist',
'dingy',
'recant',
'document',
'uncommon',
'easiness',
'geologist',
'nonce',
'variously',
'woodcraft',
'scurf',
'eightieth',
'frippery',
'skylark',
'homepage',
'ankle',
'devotee',
'noisiness',
'succinct',
'axiomatic',
'Pascal',
'offhand',
'drably',
'Friday',
'storage',
'increment',
'highborn',
'harvest',
'activity',
'elbow',
'insure',
'bleeder',
'lamppost',
'feasible',
'outline',
'denature',
'crave',
'punctual',
'fiddle',
'spike',
'crumble',
'fractious',
'minima',
'color',
'standby',
'someplace',
'teachable',
'arsenic',
'shove',
'appeal',
'chickweed',
'draftsman',
'visit',
'restraint',
'carnelian',
'count',
'wrongful',
'surprise',
'classical',
'effects',
'pastime',
'permit',
'imagine',
'helium',
'horsefly',
'menace',
'brunt',
'lives',
'nihilism',
'sedation',
'oversized',
'yonder',
'holding',
'drainage',
'caliber',
'embody',
'celebrant',
'courtesy',
'bicameral',
'hairiness',
'financial',
'rhizome',
'printer',
'inaction',
'frump',
'gabled',
'helices',
'jasmine',
'menswear',
'shingles',
'giggly',
'laxative',
'pamper',
'primrose',
'horsehair',
'damper',
'unbeknown',
'Aussie',
'extent',
'startling',
'culture',
'druid',
'cluck',
'narrow',
'prompter',
'acidly',
'piquancy',
'structure',
'largeness',
'overage',
'befallen',
'valiant',
'pliant',
'foster',
'saucepan',
'indorse',
'ovary',
'starve',
'paling',
'flagship',
'cheerful',
'jumpy',
'threefold',
'cordon',
'surplice',
'tidbit',
'flippancy',
'train',
'obsess',
'dumdum',
'rerun',
'buttress',
'Scottish',
'myriad',
'copse',
'founder',
'catapult',
'unmade',
'table',
'Moslem',
'follower',
'disorder',
'bluster',
'oriental',
'spoil',
'enviably',
'hobby',
'dragnet',
'shift',
'earplug',
'ninepins',
'unfold',
'share',
'pittance',
'racket',
'planner',
'heron',
'handcart',
'cellar',
'crotchety',
'domicile',
'stanza',
'brushwood',
'rifle',
'dominance',
'hirsute',
'regale',
'throve',
'catboat',
'forgo',
'hater',
'riffle',
'smear',
'chasm',
'ambition',
'manifest',
'wrong',
'brisk',
'abalone',
'stampede',
'cheep',
'seeker',
'oregano',
'union',
'sanction',
'civilly',
'gutsy',
'handbag',
'teetotal',
'patio',
'remission',
'operatic',
'boxer',
'gorgeous',
'skyline',
'luridly',
'prophet',
'wacky',
'toucan',
'sleaze',
'loamy',
'refer',
'arrogance',
'notarize',
'zealously',
'allotment',
'housefly',
'galley',
'whittle',
'prose',
'bookish',
'synapse',
'endless',
'shuffle',
'geese',
'noose',
'siesta',
'margarita',
'brownish',
'psycho',
'panic',
'spunk',
'frankness',
'naval',
'mandrake',
'admiralty',
'interpret',
'nozzle',
'layoff',
'woebegone',
'review',
'obstinacy',
'pronged',
'muskrat',
'annual',
'bough',
'knoll',
'puppeteer',
'desultory',
'tendril',
'bottom',
'supreme',
'weirdo',
'instruct',
'fixings',
'chemistry',
'shootout',
'fraternal',
'occasion',
'transpire',
'irritant',
'shake',
'dunce',
'scorpion',
'skeptical',
'penchant',
'mealy',
'sorbet',
'ticking',
'suction',
'nosebleed',
'coverlet',
'methanol',
'oxbow',
'legendary',
'capacious',
'Romeo',
'battle',
'consulate',
'bulletin',
'durable',
'missing',
'Spanish',
'blowgun',
'convince',
'agave',
'broth',
'spoonbill',
'parcel',
'ignorant',
'bathtub',
'workfare',
'storied',
'downer',
'mismanage',
'sinker',
'enquire',
'Olympics',
'officiate',
'cobalt',
'longhair',
'hooded',
'vilify',
'mattock',
'oases',
'blister',
'wigwam',
'strand',
'earshot',
'righteous',
'ditto',
'undressed',
'rough',
'calmness',
'kinship',
'outgrowth',
'money',
'dexterity',
'shoot',
'vestry',
'denigrate',
'lavatory',
'seventeen',
'eternal',
'hereabout',
'pustule',
'shill',
'elastic',
'migration',
'stink',
'messily',
'ruckus',
'compactly',
'refund',
'quasar',
'inning',
'salute',
'loyal',
'shave',
'veracious',
'victuals',
'ghostly',
'overblown',
'moldy',
'introduce',
'pointless',
'carillon',
'astound',
'brine',
'knobby',
'Norwegian',
'mauve',
'fascinate',
'latecomer',
'timpanist',
'aquaria',
'warlike',
'nymph',
'leonine',
'reinstate',
'mannerly',
'polemical',
'betrothed',
'huddle',
'facade',
'revamp',
'night',
'cobra',
'viaduct',
'chipper',
'fiction',
'scoff',
'kingly',
'insulate',
'attentive',
'pyjamas&',
'amorous',
'repress',
'nastily',
'showpiece',
'outspoken',
'think',
'irrigate',
'conscious',
'ulterior',
'dearness',
'Dutch',
'heroine',
'socialism',
'archduke',
'existence',
'humid',
'suffice',
'flora',
'unwieldy',
'Capricorn',
'undecided',
'cruel',
'jackass',
'Aryan',
'dispel',
'renovate',
'babble',
'buoyantly',
'gracious',
'lantern',
'eighty',
'valorous',
'mannequin',
'garnet',
'petulance',
'untamed',
'location',
'worse',
'deprave',
'rider',
'strop',
'negligee',
'chancery',
'matriarch',
'utterly',
'firebreak',
'courage',
'whitefish',
'horned',
'plebeian',
'queasily',
'lichen',
'statuary',
'reasoning',
'wallop',
'adversely',
'partway',
'cockily',
'solemnity',
'syndicate',
'extant',
'spittle',
'striped',
'obligate',
'underage',
'hamlet',
'courier',
'database',
'golfer',
'fiercely',
'profanity',
'midstream',
'blastoff',
'quash',
'warden',
'concede',
'estimator',
'dirtiness',
'inshore',
'impinge',
'nought',
'central',
'nutritive',
'poppy',
'enmesh',
'underfoot',
'darkness',
'lagoon',
'clapboard',
'blusher',
'deify',
'eagerly',
'obeisance',
'offbeat',
'tenement',
'rousing',
'faulty',
'readiness',
'staid',
'plodder',
'minutiae',
'juggle',
'asylum',
'casuist',
'forefeet',
'flash',
'backyard',
'liquidity',
'nimbi',
'Libra',
'wreath',
'mosquito',
'sodomite',
'sparsely',
'debonair',
'workshop',
'springy',
'anteater',
'solar',
'sizzle',
'bellyache',
'freeman',
'tamarind',
'empire',
'pinkeye',
'stationer',
'berry',
'supernova',
'portable',
'biped',
'carryall',
'headband',
'inflation',
'anything',
'hedge',
'speedy',
'picnicker',
'police',
'flood',
'cenotaph',
'belch',
'cytology',
'patricide',
'succulent',
'lunch',
'thieve',
'runoff',
'altruist',
'overrode',
'rapport',
'nebulous',
'carousel',
'whereon',
'copula',
'blink',
'heavily',
'flabby',
'ethical',
'arbitrary',
'ground',
'gerund',
'influx',
'sniper',
'start',
'soupcon',
'tenfold',
'flasher',
'earthly',
'sneer',
'weekend',
'octopi',
'doggy',
'foolproof',
'arrowroot',
'negate',
'rotunda',
'masher',
'sandlot',
'basement',
'wiring',
'gibbet',
'suffocate',
'floppy',
'principle',
'basis',
'spearmint',
'bogus',
'quatrain',
'farmyard',
'megaton',
'symbolism',
'chairman',
'glossy',
'latch',
'contender',
'lesbian',
'sandal',
'coinage',
'variety',
'tango',
'mealtime',
'ancestral',
'easel',
'wooer',
'forehead',
'loanword',
'invisibly',
'reader',
'somebody',
'handsome',
'purity',
'flophouse',
'coercion',
'trombone',
'current',
'lustrous',
'dominate',
'celluloid',
'flunky',
'Xerox',
'widen',
'papacy',
'baseline',
'suspicion',
'festivity',
'Arabian',
'distress',
'tinfoil',
'super',
'docile',
'lingual',
'demon',
'powerful',
'overseen',
'wordiness',
'resistor',
'sonny',
'anonymity',
'gangster',
'fumigate',
'bugaboo',
'cockerel',
'paramecia',
'kibbutz',
'reject',
'skintight',
'brigand',
'instil',
'hawthorn',
'phylum',
'boogie',
'award',
'masochist',
'conjuror',
'slick',
'appraise',
'macron',
'tableaux',
'uniformly',
'unlimited',
'pacifism',
'dissenter',
'celebrity',
'defiantly',
'breezily',
'petroleum',
'upbraid',
'economize',
'specialty',
'accredit',
'icily',
'glass',
'agonizing',
'inhibited',
'aegis',
'narcosis',
'global',
'lobby',
'divot',
'earthy',
'furtively',
'obstacle',
'underlay',
'odium',
'worsted',
'alpaca',
'humour&',
'hireling',
'nonevent',
'babbler',
'worthy',
'willing',
'boomerang',
'ambiguity',
'eligible',
'votary',
'ennoble',
'namely',
'relive',
'playhouse',
'plaid',
'permeate',
'afternoon',
'famously',
'bromide',
'avert',
'overview',
'gastritis',
'Casanova',
'motocross',
'drift',
'criticize',
'foresaw',
'cassock',
'aardvark',
'palate',
'treachery',
'triennial',
'enthrone',
'abductor',
'pollution',
'cabin',
'trouper',
'deception',
'pictorial',
'Moses',
'deathlike',
'ascendent',
'actuary',
'betake',
'vulva',
'viscount',
'guarantor',
'biker',
'corkscrew',
'Eskimo',
'geologic',
'bacterial',
'corsage',
'sower',
'bandolier',
'chosen',
'boredom',
'displease',
'mistress',
'orbital',
'Taiwanese',
'theme',
'dragonfly',
'envoy',
'renege',
'parrot',
'insipid',
'clear',
'walled',
'furrow',
'decision',
'pinhead',
'depot',
'pierce',
'miner',
'informed',
'woolen',
'china',
'mariachi',
'ignoble',
'explorer',
'disabled',
'providing',
'drawn',
'refrain',
'driveway',
'content',
'speed',
'abstainer',
'labor',
'synagog',
'teens',
'Medicare',
'cascade',
'access',
'Martian',
'remade',
'tomato',
'temper',
'voice',
'gallstone',
'hothead',
'recur',
'cultivate',
'shoal',
'thorough',
'snobbery',
'party',
'Matthew',
'persist',
'brownie',
'garish',
'sulphur',
'castigate',
'scavenge',
'willfully',
'frivolous',
'camellia',
'urchin',
'spine',
'hitchhike',
'tarpaulin',
'fourscore',
'stinger',
'slapstick',
'reborn',
'occupancy',
'moraine',
'remover',
'parchment',
'parquet',
'alkaloid',
'pitiably',
'confine',
'unbounded',
'larch',
'repeat',
'sherry',
'jujitsu',
'fountain',
'banish',
'minus',
'trodden',
'cushy',
'dateline',
'inmate',
'abbess',
'entitle',
'deceased',
'faultily',
'soldier',
'launder',
'debatable',
'consist',
'dream',
'clack',
'dampen',
'alone',
'mystical',
'allure',
'alley',
'holly',
'sedge',
'hertz',
'deputy',
'ripen',
'oddness',
'corduroys',
'tenable',
'inclined',
'serving',
'genuflect',
'caisson',
'grout',
'neurology',
'asphalt',
'stair',
'stringent',
'pulpy',
'heritage',
'divulge',
'inimical',
'fearful',
'warning',
'portray',
'untouched',
'marjoram',
'cerebrum',
'pannier',
'colonnade',
'crunch',
'heartless',
'sunspot',
'degrade',
'azimuth',
'forenoon',
'vulcanize',
'livable',
'rosette',
'refresh',
'repaid',
'terrarium',
'plexus',
'validity',
'biopsy',
'larboard',
'chicken',
'there',
'sycophant',
'savory',
'aside',
'kielbasa',
'obtusely',
'vertebrae',
'black',
'handbill',
'command',
'crescent',
'sully',
'counsel',
'printout',
'hornet',
'ganglion',
'cleaner',
'clown',
'viola',
'albacore',
'rewritten',
'haltingly',
'trail',
'trolley',
'capstan',
'tether',
'nutshell',
'tenth',
'ordeal',
'expertise',
'ballad',
'continua',
'singsong',
'chase',
'spongy',
'rhapsodic',
'nauseous',
'slather',
'moire',
'derelict',
'toaster',
'eleven',
'anterior',
'maddening',
'granule',
'hypocrite',
'larkspur',
'canonical',
'kickback',
'denture',
'scrod',
'flashbulb',
'listless',
'crossness',
'poverty',
'satanic',
'hypnosis',
'vouchsafe',
'weary',
'anxiety',
'endearing',
'favorite',
'rescind',
'sunshine',
'overeat',
'pricey',
'waggish',
'caretaker',
'pettiness',
'rundown',
'sewer',
'edify',
'candidacy',
'heinously',
'blizzard',
'absent',
'toupee',
'hotness',
'hysteric',
'monograph',
'offence&',
'walker',
'halcyon',
'township',
'secular',
'bulgy',
'ribald',
'halogen',
'rupee',
'flagellum',
'malignant',
'faker',
'nickel',
'mosque',
'roomful',
'falconry',
'morality',
'collate',
'actuate',
'coming',
'cougar',
'capon',
'decoy',
'taste',
'untidy',
'rebuttal',
'formulae',
'consort',
'raglan',
'radiation',
'spoor',
'solitaire',
'defector',
'foremost',
'bucketful',
'czarina',
'shrew',
'esthetic',
'fatalist',
'stand',
'connive',
'nautilus',
'rhythmic',
'mariner',
'delay',
'divvy',
'cuisine',
'glorious',
'shaky',
'wander',
'atheist',
'applicant',
'vagina',
'bayberry',
'bootee',
'resonator',
'charwoman',
'litre&',
'pooped',
'casino',
'print',
'bench',
'cyclical',
'covenant',
'snooper',
'found',
'solitary',
'backhoe',
'introvert',
'wedlock',
'moronic',
'adulation',
'scald',
'honest',
'maxilla',
'departed',
'forbade',
'condition',
'offertory',
'farmer',
'ferret',
'impetuous',
'tympanum',
'triad',
'sharply',
'limelight',
'impale',
'cartridge',
'repent',
'demanding',
'heartland',
'contented',
'study',
'decanter',
'reimburse',
'forgot',
'sewage',
'oyster',
'strewn',
'croon',
'elation',
'pathetic',
'smartly',
'slammer',
'fatally',
'becoming',
'litchi',
'blench',
'pontiff',
'grass',
'truly',
'factotum',
'coldness',
'obelisk',
'disbar',
'tabulator',
'overdrawn',
'muskmelon',
'saline',
'cleanly',
'stall',
'pathos',
'hatchway',
'anthill',
'dispense',
'astern',
'impair',
'coating',
'extension',
'granary',
'addressee',
'bouquet',
'peekaboo',
'terminal',
'hello',
'upend',
'strategic',
'sentient',
'grueling',
'cream',
'protozoan',
'jovial',
'cider',
'contract',
'propeller',
'scantily',
'digraph',
'civic',
'clergyman',
'worshiper',
'untimely',
'pellucid',
'cowboy',
'whereof',
'medal',
'movable',
'carat',
'ovulation',
'retired',
'soccer',
'expurgate',
'spillway',
'perceive',
'bulldozer',
'follicle',
'minutely',
'trusty',
'oxidizer',
'jocularly',
'scramble',
'dietetics',
'overdrew',
'verbena',
'sickbed',
'employee',
'deferment',
'balalaika',
'shanghai',
'placenta',
'granddad',
'rivalry',
'verbosity',
'colon',
'visor',
'thinner',
'ingenuous',
'harmful',
'exponent',
'wooden',
'severally',
'upset',
'emulsion',
'rigorous',
'byword',
'demure',
'cruddy',
'arabesque',
'misread',
'totter',
'bidden',
'swinish',
'pickup',
'maggot',
'unabashed',
'veiled',
'whence',
'continuum',
'tabulate',
'stave',
'clothe',
'emergence',
'dweeb',
'forgave',
'whiting',
'Shinto',
'hatch',
'feisty',
'immense',
'exactness',
'fishing',
'Irish',
'tinkle',
'rectal',
'tarry',
'veritable',
'heyday',
'balance',
'genius',
'incense',
'innately',
'leakage',
'angling',
'quotient',
'penurious',
'Ukrainian',
'zucchini',
'atomizer',
'infrared',
'hoaxer',
'doorway',
'starry',
'crudely',
'dishwater',
'mimic',
'frizzy',
'traction',
'satinwood',
'pillar',
'slacker',
'milch',
'circle',
'cubism',
'butte',
'equivocal',
'silvery',
'survival',
'betwixt',
'soundness',
'encore',
'knack',
'saloon',
'loyalty',
'mirthless',
'paralyze',
'nuncio',
'Hollywood',
'misspent',
'jockey',
'knothole',
'emblazon',
'whole',
'quince',
'towering',
'disown',
'limpid',
'mescaline',
'astir',
'retrieval',
'rigid',
'enduring',
'depth',
'chilblain',
'paternity',
'expunge',
'Czech',
'derringer',
'butcher',
'cower',
'pellagra',
'painfully',
'gadabout',
'pronounce',
'consign',
'savannah',
'overshoe',
'liveried',
'priestess',
'adoption',
'afflict',
'privy',
'publicist',
'fiasco',
'shadowy',
'matting',
'mythology',
'spruce',
'scone',
'dribbler',
'proactive',
'sealskin',
'infantile',
'cogitate',
'electrify',
'wriggler',
'nerveless',
'glade',
'acerbity',
'ancestor',
'parachute',
'charily',
'model',
'anchorage',
'whenever',
'summarize',
'defendant',
'buffet',
'excretion',
'bestow',
'regatta',
'holiness',
'migrate',
'passenger',
'shoddy',
'immovable',
'childhood',
'impotence',
'illness',
'scoundrel',
'jollity',
'laborious',
'fizzle',
'optima',
'toiletry',
'secretive',
'athlete',
'writer',
'doughty',
'mainsail',
'albino',
'clitoris',
'pandemic',
'paleness',
'grandly',
'mineral',
'quasi',
'request',
'sorely',
'reside',
'signpost',
'undertow',
'whoopee',
'arboretum',
'jealous',
'august',
'whistler',
'ruthless',
'emission',
'insertion',
'sneaker',
'shade',
'sitar',
'beriberi',
'resort',
'sapsucker',
'jobber',
'shyness',
'avowal',
'funds',
'protester',
'Ethiopian',
'rampage',
'meander',
'sheepskin',
'adieux',
'alert',
'abattoir',
'exigent',
'atrocity',
'plush',
'pedigreed',
'chaperone',
'downstage',
'seaward',
'dapper',
'upstairs',
'diploma',
'slothful',
'bleakly',
'busywork',
'terrapin',
'rapids',
'psoriasis',
'footstool',
'diocese',
'inertia',
'snaky',
'sworn',
'rubicund',
'fifty',
'politely',
'repossess',
'bossy',
'promise',
'princess',
'barbarian',
'friskily',
'supply',
'baton',
'scout',
'misapply',
'observe',
'diamond',
'linger',
'savanna',
'logarithm',
'mortal',
'disaster',
'brilliant',
'whomever',
'basilica',
'signboard',
'quality',
'distance',
'hassock',
'layette',
'heroism',
'vertigo',
'pastoral',
'purloin',
'stranger',
'bronchus',
'tamely',
'lifeline',
'overdid',
'surely',
'intercept',
'creole',
'fecal',
'cheerily',
'navigator',
'landslide',
'guffaw',
'wonderful',
'jihad',
'sheet',
'hatred',
'patience',
'legal',
'malarial',
'power',
'infielder',
'stubbly',
'bribe',
'hightail',
'finagler',
'Icelandic',
'gameness',
'leafy',
'possess',
'tympana',
'evasively',
'turnkey',
'thought',
'actualize',
'adjudge',
'stripe',
'Aphrodite',
'supposed',
'polygraph',
'brute',
'elevator',
'nightcap',
'oarlock',
'resale',
'recovery',
'harass',
'chive',
'unluckily',
'unburden',
'blanket',
'manorial',
'newborn',
'debunk',
'parlance',
'gnarled',
'maharajah',
'merge',
'perplexed',
'ardently',
'viceroy',
'chaste',
'moment',
'breakable',
'rightly',
'scorn',
'menial',
'genus',
'Camembert',
'vixen',
'latex',
'entrench',
'monster',
'birth',
'orient',
'truncate',
'hydrangea',
'bazooka',
'literati',
'internist',
'undulate',
'sweater',
'downplay',
'maven',
'grassy',
'pigsty',
'biannual',
'carryout',
'wishfully',
'devastate',
'salaam',
'voracity',
'bazaar',
'patsy',
'lorry&',
'pantyhose',
'pimple',
'patent',
'dwarves',
'indignant',
'askance',
'spilt',
'pessimism',
'devise',
'passable',
'strut',
'videotape',
'sogginess',
'affair',
'doodler',
'syncopate',
'chemist',
'flinty',
'manikin',
'distaff',
'howsoever',
'taillight',
'margarine',
'Brahma',
'music',
'occur',
'mutilate',
'bounty',
'footstep',
'rabies',
'baste',
'lustfully',
'royal',
'royalist',
'shrift',
'disgorge',
'chorus',
'kayak',
'snack',
'unjustly',
'manor',
'parasitic',
'minimum',
'villainy',
'revenge',
'expertly',
'beside',
'adulterer',
'roughage',
'mouse',
'scathing',
'cyclamen',
'Brahmin',
'neatness',
'bangs',
'mullet',
'owing',
'purchase',
'compress',
'dahlia',
'ultimatum',
'efface',
'locus',
'heated',
'tracheae',
'inclement',
'affirm',
'codger',
'unaware',
'snake',
'unskilled',
'imbibe',
'Bantu',
'showily',
'raffle',
'inheritor',
'pulverize',
'lintel',
'zircon',
'grange',
'festively',
'depict',
'chump',
'inkling',
'hoggish',
'outsider',
'fifth',
'inhalator',
'spiteful',
'bookend',
'apostasy',
'tragedian',
'endowment',
'fealty',
'arctic',
'britches',
'dashing',
'examiner',
'clientele',
'rouse',
'deice',
'poncho',
'eastwards',
'grandpa',
'mobilize',
'courtly',
'cordless',
'humidify',
'leveller',
'eloquent',
'limit',
'ripsaw',
'turnpike',
'orbit',
'broadly',
'confirm',
'meditate',
'frail',
'bobbin',
'brindled',
'octane',
'bitch',
'excellent',
'famed',
'stocking',
'formalism',
'acorn',
'stovepipe',
'gasohol',
'triplet',
'tolerable',
'stairwell',
'river',
'frappe',
'drastic',
'treason',
'reproof',
'lovingly',
'insolence',
'cooker',
'putrefy',
'snore',
'prologue',
'gotten',
'blacken',
'loyalist',
'provided',
'hearth',
'amiable',
'suite',
'innocence',
'flurry',
'Frisbee',
'elite',
'consular',
'riven',
'stimulate',
'storey',
'gazette',
'trundle',
'waste',
'sweet',
'filmy',
'phobic',
'needful',
'elude',
'accordion',
'medically',
'tense',
'harsh',
'hospice',
'unarmed',
'unlace',
'mundanely',
'stride',
'contain',
'seafarer',
'nonwhite',
'grisly',
'lasagna',
'protector',
'truculent',
'parboil',
'genuinely',
'remiss',
'cerebra',
'concrete',
'poise',
'tracer',
'applejack',
'kosher',
'tinderbox',
'paunch',
'yogurt',
'preterite',
'briefing',
'vintner',
'fixative',
'niche',
'purchaser',
'crappy',
'directive',
'loveable',
'convex',
'gyration',
'idiomatic',
'pauperism',
'revelry',
'query',
'lordly',
'Libyan',
'destiny',
'eider',
'seduce',
'halter',
'cleavage',
'primary',
'dishonest',
'downgrade',
'diehard',
'roach',
'donut',
'miniskirt',
'irritate',
'freely',
'disparage',
'husbandry',
'unbending',
'offensive',
'scotch',
'differ',
'tubeless',
'washable',
'airless',
'creamer',
'panoply',
'phenomena',
'lacrosse',
'pesticide',
'capable',
'innovator',
'batten',
'infirmary',
'closely',
'drape',
'acclimate',
'livery',
'Greek',
'thistle',
'clank',
'Byzantine',
'operation',
'littoral',
'fingertip',
'fixate',
'acidify',
'bland',
'whirlwind',
'renovator',
'embed',
'broad',
'autistic',
'glint',
'malign',
'impromptu',
'Danish',
'sulky',
'buttocks',
'isometric',
'syllabify',
'loath',
'fillip',
'chitlins',
'posterior',
'presage',
'plunger',
'cutoff',
'stellar',
'process',
'anarchist',
'kitchen',
'anomalous',
'portend',
'proposal',
'scoop',
'mustiness',
'wound',
'doxology',
'cheddar',
'cohere',
'hunter',
'social',
'ensemble',
'payload',
'baroness',
'vodka',
'confines',
'pretend',
'gargle',
'fragility',
'swearword',
'operate',
'martinet',
'cloture',
'immutable',
'clothing',
'intensify',
'petticoat',
'sweaty',
'deserving',
'serfdom',
'locksmith',
'shellac',
'insolent',
'German',
'aversion',
'sobriety',
'girth',
'drugstore',
'delicate',
'seaplane',
'irksome',
'Vaseline',
'splinter',
'monstrous',
'federal',
'regard',
'embalmer',
'leafless',
'paradise',
'courteous',
'velours',
'reflexive',
'intern',
'bleary',
'falconer',
'seedy',
'muddle',
'imprudent',
'explosion',
'cremation',
'amazement',
'surfboard',
'clench',
'reality',
'predict',
'alumnae',
'labour&',
'tyrannize',
'bankroll',
'swerve',
'outfitter',
'oncology',
'mallet',
'wakeful',
'hector',
'patella',
'gondolier',
'spatter',
'befriend',
'enrage',
'splice',
'enshroud',
'baboon',
'diskette',
'probity',
'slipcover',
'abrasion',
'macaroon',
'harmony',
'bionic',
'churn',
'matzo',
'offer',
'stability',
'pillbox',
'astronaut',
'unvoiced',
'fondue',
'midwife',
'lineage',
'debility',
'mailman',
'technical',
'purifier',
'killdeer',
'jockstrap',
'cerebella',
'letdown',
'milliner',
'cutting',
'deviously',
'vinegary',
'tailgate',
'technique',
'sugary',
'thriven',
'goods',
'might',
'perjury',
'rarely',
'gratitude',
'homey',
'frigate',
'outrank',
'coverage',
'cookie',
'response',
'giblets',
'landlady',
'raillery',
'grumpily',
'bloated',
'pitfall',
'sarcasm',
'prevalent',
'squawk',
'blush',
'hasten',
'cruciform',
'depart',
'protract',
'closed',
'ungodly',
'worldwide',
'geriatric',
'square',
'jocose',
'bedfellow',
'fruitless',
'impacted',
'quarterly',
'discharge',
'minivan',
'jolly',
'overcrowd',
'burrito',
'denude',
'soupy',
'eggbeater',
'destine',
'appease',
'inept',
'dotage',
'deafen',
'unlawful',
'fabricate',
'rapidity',
'quiver',
'boudoir',
'legislate',
'gluey',
'girder',
'bugler',
'regent',
'stoical',
'bashfully',
'sifter',
'hanky',
'diarist',
'looter',
'beloved',
'inspector',
'parallax',
'delusive',
'miscast',
'cashmere',
'blindfold',
'acrobatic',
'remarry',
'entire',
'assessor',
'pigment',
'region',
'astonish',
'sixty',
'pants',
'herbivore',
'breach',
'flunk',
'checkout',
'thrice',
'drivel',
'shindig',
'assume',
'colloid',
'chandler',
'ominously',
'ermine',
'lurch',
'eloquence',
'flatterer',
'limpet',
'squiggle',
'adventure',
'molecule',
'nugget',
'hangar',
'decorum',
'intone',
'finish',
'zombie',
'byplay',
'intercede',
'molehill',
'interval',
'teeth',
'upswing',
'Semite',
'patois',
'altitude',
'group',
'together',
'insinuate',
'radius',
'beneath',
'lectern',
'souvenir',
'pressure',
'dimly',
'turntable',
'pasture',
'stench',
'insider',
'secession',
'bungle',
'blankness',
'aware',
'mixture',
'magazine',
'fireman',
'nightmare',
'classics',
'mannish',
'grateful',
'brewery',
'rocket',
'snitch',
'equinox',
'gaiter',
'stowaway',
'input',
'outmoded',
'sunflower',
'stocky',
'spelunker',
'murderer',
'absently',
'drench',
'energize',
'companion',
'stopcock',
'execution',
'touching',
'sphere',
'comedown',
'catching',
'shrapnel',
'sparely',
'maturity',
'timbered',
'mushroom',
'projector',
'spicy',
'parable',
'peony',
'lawless',
'rosebud',
'scorer',
'reverend',
'harelip',
'demented',
'leaden',
'perky',
'someone',
'aimlessly',
'ballerina',
'defensive',
'splutter',
'relation',
'deliver',
'squash',
'quizzical',
'hemlock',
'fatality',
'biology',
'perpetual',
'adaptable',
'femur',
'coddle',
'impatient',
'recapture',
'incognito',
'excitedly',
'blare',
'spinet',
'siphon',
'remark',
'unbiased',
'cavern',
'crevasse',
'semblance',
'empathize',
'lizard',
'corrosion',
'blackhead',
'sensually',
'mooring',
'lumbar',
'caboose',
'cymbal',
'pancreas',
'aplenty',
'heading',
'floodlit',
'greatness',
'purse',
'breast',
'oracular',
'faith',
'myself',
'crankcase',
'driver',
'relay',
'steak',
'reading',
'survive',
'buxom',
'bequest',
'urgent',
'larval',
'benign',
'greyhound',
'patina',
'copycat',
'while',
'brimful',
'decompose',
'valuation',
'smithy',
'preoccupy',
'consult',
'repugnant',
'shiftless',
'unharmed',
'boardwalk',
'barracks',
'washroom',
'junction',
'reindeer',
'sensitive',
'vigor',
'waver',
'linnet',
'nighttime',
'dynamics',
'sunblock',
'beltway',
'traveler',
'minnow',
'bewail',
'frill',
'desperado',
'seashell',
'outermost',
'wrongly',
'exclude',
'ferrule',
'exception',
'truant',
'anyhow',
'political',
'integrate',
'tantalize',
'detector',
'delusion',
'bedrock',
'Caucasian',
'artist',
'advisory',
'choppy',
'Psalter',
'whiskey',
'bogie',
'karakul',
'makeup',
'pawnshop',
'belief',
'calabash',
'bestride',
'choosy',
'heptagon',
'quantity',
'fallen',
'buster',
'footrest',
'replete',
'downwards',
'phooey',
'hacienda',
'nuclear',
'sinfully',
'Samaritan',
'unroll',
'telegram',
'swish',
'eighth',
'avuncular',
'soundless',
'currant',
'stormy',
'cormorant',
'brittle',
'etiquette',
'petrel',
'upshot',
'wretch',
'lately',
'toadstool',
'envelope',
'whetstone',
'effort',
'violet',
'establish',
'defiant',
'cricket',
'scholarly',
'fieriness',
'crony',
'disappear',
'epicenter',
'psychoses',
'lengthen',
'pantsuit',
'inside',
'nonvoting',
'hedonist',
'extrinsic',
'aimless',
'recital',
'sidestep',
'simmer',
'feature',
'lingo',
'sapience',
'uneasy',
'chaise',
'wheeze',
'spoilage',
'shakily',
'lipid',
'housecoat',
'defender',
'overwhelm',
'fencing',
'estate',
'coltish',
'verve',
'breeder',
'freestyle',
'vascular',
'advisor',
'partially',
'sophistry',
'onshore',
'strangler',
'jester',
'byline',
'teacup',
'errand',
'harem',
'parameter',
'crocus',
'bellyful',
'untold',
'iterate',
'sporting',
'archly',
'vainglory',
'doctrinal',
'wrestling',
'weirdness',
'instigate',
'drinkable',
'legged',
'licensee',
'picayune',
'mystify',
'cannery',
'pretender',
'cockeyed',
'bestiary',
'clutter',
'flammable',
'swanky',
'first',
'rennet',
'grannie',
'disciple',
'forbear',
'juggler',
'honesty',
'modernize',
'marimba',
'creosote',
'calibrate',
'harken',
'nonsexist',
'solvency',
'riser',
'master',
'creek',
'hoodwink',
'animation',
'interface',
'prepaid',
'turbot',
'tempest',
'referee',
'donate',
'puffin',
'forest',
'prewar',
'brawl',
'scrap',
'voter',
'ballot',
'beholden',
'overpay',
'cootie',
'hilarity',
'ethnology',
'mudslide',
'drizzle',
'ragweed',
'screwy',
'viewpoint',
'tiger',
'glamorize',
'clayey',
'rumpus',
'jigsaw',
'guest',
'gourd',
'thickness',
'triathlon',
'middy',
'reconvene',
'carpet',
'means',
'ominous',
'meant',
'dizziness',
'frugal',
'antarctic',
'Jehovah',
'emporium',
'recorder',
'snicker',
'public',
'slanderer',
'reorder',
'aerate',
'pratfall',
'prismatic',
'joyous',
'molten',
'witchery',
'goldsmith',
'beguile',
'courtship',
'overly',
'cracked',
'outsmart',
'legibly',
'uplift',
'volcano',
'seminar',
'chinstrap',
'onion',
'mislaid',
'incisor',
'gravely',
'gladioli',
'retreat',
'dexterous',
'letter',
'Islam',
'vitamin',
'orientate',
'clothes',
'mugginess',
'violin',
'keenness',
'cried',
'fibber',
'showgirl',
'amnesiac',
'hibiscus',
'spawn',
'surefire',
'optimum',
'tactful',
'quickness',
'frizz',
'frond',
'unselfish',
'vibrantly',
'inanity',
'alcohol',
'acutely',
'spoiled',
'executor',
'wheeled',
'awkward',
'trawl',
'harshness',
'prudent',
'recoil',
'oxymoron',
'rockiness',
'heroics',
'scabies',
'vengeful',
'throttle',
'miniature',
'oversell',
'lodestone',
'professed',
'hulking',
'sluggish',
'blockade',
'seminal',
'statesman',
'molar',
'apprehend',
'scrunch',
'nonexempt',
'cessation',
'fluidity',
'shallow',
'widowhood',
'doorbell',
'tress',
'comical',
'upside',
'fuchsia',
'adjacent',
'fledgling',
'ablaze',
'womanize',
'paddle',
'fluency',
'pippin',
'hardness',
'caviar',
'melodic',
'unearthly',
'rouge',
'deter',
'culminate',
'iceberg',
'defense',
'crier',
'geezer',
'aback',
'yuppie',
'ashes',
'shipyard',
'swarthy',
'beggar',
'shower',
'other',
'rodeo',
'dynasty',
'waxen',
'dollop',
'oleander',
'stagnant',
'brogue',
'delighted',
'sawmill',
'dealt',
'severity',
'bumptious',
'grill',
'sheik',
'glassware',
'vignette',
'influenza',
'brook',
'hookah',
'label',
'Madonna',
'headlong',
'amateur',
'stupefy',
'inherent',
'calcify',
'finesse',
'donkey',
'blazon',
'gripe',
'concerto',
'prong',
'rumple',
'butane',
'splitting',
'commodore',
'grocery',
'pariah',
'parolee',
'farther',
'spiciness',
'grownup<',
'godlike',
'ranger',
'smartness',
'sidle',
'healthy',
'sadly',
'pirouette',
'stickup',
'dormancy',
'avidly',
'piano',
'boorish',
'spice',
'Easter',
'arrogant',
'housetop',
'bloodshot',
'unmoved',
'archivist',
'credo',
'ripple',
'envious',
'pooch',
'facetious',
'stolid',
'magic',
'busybody',
'relate',
'crucify',
'tippler',
'devour',
'influence',
'lineup',
'herbalist',
'shield',
'backpack',
'month',
'kumquat',
'potent',
'carpel',
'niacin',
'sorceress',
'lofty',
'Chanukah',
'peevishly',
'picket',
'centigram',
'choir',
'peaceable',
'resilient',
'agreeable',
'devious',
'tableland',
'sliver',
'masseur',
'hosanna',
'jaunty',
'unhappily',
'disrobe',
'acuteness',
'nigger',
'reprehend',
'hedgehog',
'picky',
'mantel',
'school',
'positron',
'nougat',
'partridge',
'literate',
'nibble',
'annals',
'ownership',
'coexist',
'vocalist',
'prophetic',
'crate',
'salinity',
'deceitful',
'demean',
'going',
'strove',
'agreement',
'repayment',
'overeager',
'blameless',
'underling',
'brimstone',
'glassy',
'steamy',
'turboprop',
'lewdness',
'resign',
'untie',
'summon',
'maneuver',
'isobar',
'diligence',
'boater',
'affray',
'thrifty',
'beret',
'fated',
'mandatory',
'expletive',
'craven',
'unravel',
'prettify',
'Briton',
'recognize',
'winter',
'dollar',
'rigmarole',
'cancel',
'landowner',
'matador',
'fable',
'subtotal',
'monarch',
'panties',
'useless',
'surplus',
'farmhouse',
'manly',
'reduction',
'vitally',
'knitter',
'sultry',
'awash',
'vibration',
'Spaniard',
'report',
'regulate',
'midge',
'twinkle',
'thankless',
'forsake',
'iciness',
'fusion',
'overboard',
'partition',
'death',
'arena',
'opium',
'affiliate',
'misty',
'miscue',
'outdone',
'alternate',
'relax',
'lovely',
'relevance',
'disarm',
'motif',
'lyrical',
'stylishly',
'condo',
'improve',
'queasy',
'praline',
'rattle',
'unkempt',
'odour&',
'canton',
'chink',
'pardon',
'paperwork',
'sweepings',
'apiece',
'oxidize',
'litmus',
'Derby',
'cowpox',
'abscessed',
'racquet',
'allude',
'mechanics',
'housework',
'ornery',
'burly',
'thrive',
'nudge',
'hollyhock',
'elated',
'concord',
'courtesan',
'gasworks',
'luckless',
'orphanage',
'oviparous',
'hardware',
'tonal',
'snugly',
'dosage',
'assay',
'owlish',
'reroute',
'crossbar',
'mistake',
'educated',
'palimony',
'sparrow',
'ignobly',
'undertook',
'morgue',
'madam',
'unity',
'bobcat',
'important',
'range',
'pulsate',
'hellishly',
'kneecap',
'excursion',
'tapeworm',
'ministry',
'leisurely',
'briskly',
'hooky',
'emporia',
'Negro',
'lawsuit',
'banshee',
'semantic',
'endanger',
'harmonica',
'false',
'brutality',
'proselyte',
'submarine',
'artfully',
'schooner',
'liftoff',
'dogtrot',
'prankster',
'casual',
'system',
'wiriness',
'townsfolk',
'torpor',
'amperage',
'mousy',
'cocky',
'assistant',
'separator',
'jerkin',
'sloven',
'mettle',
'escort',
'handily',
'gentry',
'fulminate',
'ballast',
'white',
'radish',
'raspberry',
'security',
'hotcake',
'bitchy',
'quell',
'piddle',
'raffia',
'prolong',
'scenery',
'chassis',
'picker',
'outrigger',
'omega',
'yearn',
'sedate',
'quietness',
'whose',
'militant',
'anyplace',
'tuxedo',
'indelible',
'penis',
'droopy',
'brigade',
'hairbrush',
'geisha',
'muffin',
'horsey',
'spacious',
'fleshly',
'quicken',
'hoard',
'Aztec',
'reword',
'dungeon',
'debar',
'admire',
'problem',
'midterm',
'Anglicize',
'actual',
'bruise',
'virginal',
'drowse',
'dextrous',
'italicize',
'cordially',
'straggle',
'libelous',
'nepotism',
'amble',
'birdie',
'sadness',
'anger',
'boost',
'retrench',
'seabed',
'dormer',
'scope',
'apostle',
'systemic',
'sclerotic',
'homeless',
'consortia',
'lusty',
'harangue',
'woodman',
'suburb',
'newsstand',
'weariness',
'fingering',
'refugee',
'immodesty',
'incentive',
'haunting',
'sedately',
'euphemism',
'connected',
'summer',
'directory',
'wince',
'apply',
'hierarchy',
'couch',
'pencil',
'aghast',
'whimsy',
'grasping',
'doomsday',
'vacua',
'litigate',
'deicer',
'blockhead',
'swept',
'brass',
'sultan',
'sideline',
'watchful',
'detriment',
'above',
'growl',
'cliche',
'deport',
'slipknot',
'strapless',
'thieves',
'stoned',
'stitch',
'chide',
'activist',
'dryness',
'brawler',
'derby',
'rudeness',
'quill',
'hurdler',
'piously',
'discuss',
'stead',
'goddamn',
'chair',
'titanic',
'vulgar',
'lampblack',
'igloo',
'Realtor',
'perturb',
'embalm',
'tribunal',
'deaconess',
'yeasty',
'boyfriend',
'again',
'supple',
'alumna',
'dealings',
'buzzer',
'occupy',
'reserves',
'complex',
'windsock',
'titmice',
'urethra',
'separated',
'passersby',
'superbly',
'tokenism',
'infancy',
'Dixie',
'dictator',
'stealthy',
'unfit',
'nylons',
'secrecy',
'Mormonism',
'evacuate',
'reelect',
'analgesia',
'lingering',
'scavenger',
'literary',
'flyer',
'streamer',
'fierce',
'surge',
'forebode',
'killing',
'mimosa',
'huntress',
'tribe',
'election',
'hardy',
'goodness',
'bracelet',
'regain',
'brassiere',
'shorthorn',
'stiff',
'Chicana',
'fluttery',
'granola',
'overripe',
'menage',
'lyricist',
'gloat',
'garret',
'seaside',
'loving',
'August',
'epilepsy',
'assassin',
'panoramic',
'retaken',
'bluff',
'stoutly',
'grommet',
'geology',
'arbiter',
'scepter',
'Slavic',
'deciduous',
'present',
'butchery',
'highness',
'recoup',
'strings',
'starter',
'begonia',
'deductive',
'rental',
'mausoleum',
'clash',
'luggage',
'fifteen',
'disclaim',
'laity',
'peruse',
'seraphic',
'exchange',
'stinking',
'compete',
'oceanic',
'breather',
'detail',
'treaty',
'golly',
'eruditely',
'genesis',
'werewolf',
'women',
'existent',
'renewable',
'eyeball',
'phial',
'scholar',
'swatter',
'redirect',
'catholic',
'extinct',
'split',
'remote',
'sirup',
'engross',
'wagon',
'thesauri',
'donor',
'padlock',
'compact',
'denizen',
'gesture',
'duplicate',
'coyote',
'jittery',
'repute',
'shore',
'disprove',
'misled',
'paragon',
'Afrikaans',
'anxious',
'maiden',
'ocelot',
'fiancee',
'fabulous',
'kinetic',
'pitcher',
'teethe',
'potentate',
'deign',
'lockjaw',
'secret',
'bypass',
'itinerary',
'learn',
'aphid',
'interment',
'utmost',
'coercive',
'dedicated',
'forfeit',
'caraway',
'fineness',
'awoken',
'deploy',
'addenda',
'prostate',
'peeve',
'travail',
'nursemaid',
'polio',
'Scotsman',
'backrest',
'sunder',
'abundant',
'bidding',
'peccary',
'busily',
'chant',
'activate',
'branch',
'omelet',
'excreta',
'toast',
'divest',
'dogmatist',
'scrotum',
'muumuu',
'already',
'UNICEF',
'cleric',
'insert',
'mirror',
'skedaddle',
'forgive',
'hackneyed',
'eastern',
'poseur',
'calyx',
'refinish',
'staccato',
'scandal',
'Iranian',
'plausible',
'bearable',
'staunchly',
'smock',
'Monday',
'Judas',
'elevation',
'blinker',
'testify',
'tithe',
'bisection',
'designing',
'aglitter',
'unstable',
'banality',
'handyman',
'placidly',
'isosceles',
'indulgent',
'program',
'desirable',
'takeover',
'astray',
'incur',
'scherzo',
'injure',
'Buddhist',
'allowance',
'sidereal',
'malice',
'exacting',
'forte',
'choke',
'metaphor',
'dialysis',
'mesdames',
'irateness',
'grape',
'flatcar',
'pilaf',
'expand',
'unbroken',
'ritzy',
'overcame',
'firebrand',
'unruffled',
'pianist',
'chintzy',
'toxic',
'decibel',
'traffic',
'cockatoo',
'waltz',
'narration',
'genteel',
'suburbia',
'lollygag',
'worksheet',
'cyclone',
'metier',
'mournful',
'ascent',
'gibberish',
'mindful',
'schemer',
'caption',
'crassly',
'placebo',
'biblical',
'airlift',
'desperate',
'declaim',
'killer',
'baize',
'noonday',
'forsook',
'muleteer',
'tuner',
'morass',
'looseness',
'ASCII',
'Jeremiah',
'loudly',
'doorknob',
'leach',
'kernel',
'shooter',
'apostolic',
'savor',
'shelving',
'saddlebag',
'headache',
'gewgaw',
'dabbler',
'snazzy',
'including',
'hubris',
'shrank',
'shearer',
'stakeout',
'stuffy',
'tardy',
'pursuance',
'accident',
'teamster',
'beryl',
'forsaken',
'Norman',
'subtitle',
'retina',
'placard',
'germinate',
'receptor',
'splashy',
'irradiate',
'premium',
'misdoing',
'kiosk',
'cinematic',
'bargain',
'warehouse',
'furiously',
'catalpa',
'paisley',
'imprison',
'varied',
'castanet',
'rampantly',
'struck',
'wholeness',
'tonic',
'raccoon',
'entice',
'sideways',
'forbid',
'elitism',
'quadruple',
'minimize',
'biathlon',
'excuse',
'sequester',
'neuter',
'memorable',
'glazier',
'stillness',
'harbor',
'pecuniary',
'groggily',
'rapist',
'contralto',
'misstate',
'worrisome',
'tempt',
'faintly',
'sinful',
'largesse',
'about',
'toffy',
'within',
'implicit',
'fireplug',
'erstwhile',
'collector',
'mordant',
'refectory',
'emigrate',
'renewal',
'charcoal',
'raceway',
'plaint',
'Saudi',
'nutrient',
'batch',
'divan',
'hopeful',
'vessel',
'argument',
'colonizer',
'calamine',
'alchemy',
'enamel',
'Talmud',
'forger',
'miracle',
'flamenco',
'capitol',
'abstruse',
'profusion',
'chigger',
'lever',
'fittingly',
'abjectly',
'beaver',
'gamin',
'leopard',
'mountain',
'soldierly',
'abyss',
'misguided',
'digest',
'slosh',
'handmade',
'Russian',
'century',
'roguishly',
'legging',
'vitriolic',
'novelette',
'rakish',
'cosign',
'mammal',
'foolhardy',
'minefield',
'outgoing',
'viable',
'matrix',
'feign',
'gunboat',
'phyla',
'dromedary',
'dilute',
'invade',
'rightist',
'convert',
'feint',
'overtake',
'dictum',
'hunger',
'disrepute',
'sluice',
'handwork',
'ferment',
'unloose',
'codfish',
'presence',
'banner',
'potshot',
'hotbed',
'tormentor',
'circular',
'subvert',
'thermos',
'initial',
'shimmer',
'synopses',
'bobby&',
'condenser',
'subway',
'acute',
'vacillate',
'critter',
'Jesuit',
'Celsius',
'piddling',
'gratify',
'inexact',
'magnetism',
'hoagie',
'empirical',
'constant',
'enchilada',
'dreadful',
'officious',
'parsonage',
'elaborate',
'bylaw',
'violently',
'rainstorm',
'equine',
'unwed',
'otter',
'windward',
'seascape',
'gingerly',
'reluctant',
'express',
'muscatel',
'barnacle',
'automate',
'everyone',
'vertices',
'profess',
'Nordic',
'grain',
'clumsy',
'smocking',
'prowler',
'pederast',
'galvanize',
'heather',
'forager',
'utensil',
'crucifix',
'cuticle',
'Finnish',
'poppa',
'liqueur',
'gunwale',
'expressly',
'manfully',
'cactus',
'unending',
'sphinx',
'depute',
'weevil',
'rekindle',
'enormous',
'burglar',
'fornicate',
'celibacy',
'racetrack',
'offend',
'toothache',
'shilling',
'soulfully',
'alignment',
'smile',
'abound',
'counselor',
'shamrock',
'minuteman',
'homburg',
'disguise',
'morale',
'obesity',
'acoustics',
'cabbage',
'selfish',
'jurist',
'brutal',
'blotch',
'insult',
'plaster',
'nabob',
'superb',
'triumphal',
'weapon',
'descent',
'weirdly',
'taffeta',
'polygamy',
'potful',
'sundry',
'preshrunk',
'dangle',
'legalize',
'divinity',
'tasteless',
'willowy',
'freeload',
'habit',
'harrowing',
'legend',
'notice',
'illumine',
'curry',
'aquatic',
'jonquil',
'loathsome',
'groan',
'fagot',
'mastodon',
'mental',
'pitchman',
'wasted',
'clockwise',
'sealer',
'bipartite',
'gunman',
'torque',
'install',
'frizzle',
'McCoy',
'oligarchy',
'bookmark',
'cavernous',
'erudite',
'dramatist',
'bandoleer',
'laptop',
'outnumber',
'previous',
'keeper',
'ascot',
'socialize',
'roughshod',
'undoubted',
'politico',
'ocarina',
'signatory',
'seclude',
'enjoyable',
'digestive',
'smart',
'texture',
'dryly',
'caroler',
'mongoose',
'quandary',
'paltry',
'turnstile',
'valence',
'mildness',
'lowercase',
'relaxant',
'across',
'lemonade',
'welder',
'warmonger',
'vibrator',
'progress',
'cannily',
'scourge',
'grumpy',
'blend',
'secrete',
'nightfall',
'trustful',
'wages',
'lacunae',
'crutch',
'crunchy',
'fluoride',
'revise',
'hoarse',
'sacredly',
'solidity',
'camper',
'seeing',
'condor',
'bread',
'beacon',
'submit',
'expansion',
'hanger',
'convey',
'bated',
'coquette',
'discord',
'charmer',
'asunder',
'wolfish',
'coastal',
'Concord',
'aggressor',
'crossroad',
'needy',
'boaster',
'ration',
'verbose',
'showing',
'tollbooth',
'slaughter',
'bewitch',
'rearrange',
'lancet',
'clincher',
'narrator',
'certainty',
'chick',
'wheezy',
'Plexiglas',
'spastic',
'sacred',
'defeatism',
'exclaim',
'behold',
'marquise',
'coccyx',
'schwa',
'passive',
'insurgent',
'horridly',
'peeling',
'staircase',
'honeycomb',
'manic',
'unmarried',
'species',
'event',
'perennial',
'wherever',
'frosting',
'fitting',
'cornmeal',
'Internet',
'penalty',
'cession',
'ponytail',
'dweller',
'tedious',
'repel',
'risible',
'staidly',
'Negroid',
'mantis',
'alienate',
'hamburger',
'wives',
'haywire',
'simple',
'impress',
'tablet',
'quadrille',
'antiknock',
'certainly',
'obvious',
'repeated',
'preach',
'tuberous',
'fancily',
'basalt',
'restfully',
'gardenia',
'approve',
'groceries',
'trophy',
'sidewalk',
'plutonium',
'eyelash',
'grind',
'fiend',
'curie',
'bearish',
'concoct',
'rendition',
'etching',
'guide',
'domino',
'vagabond',
'double',
'jaunt',
'pacifist',
'costume',
'elephant',
'simian',
'trawler',
'transform',
'vigorous',
'warren',
'agate',
'walleyed',
'progeny',
'cacophony',
'appendage',
'blemish',
'oncoming',
'idleness',
'begun',
'Puritan',
'buffoon',
'sterility',
'elect',
'amuck',
'container',
'aground',
'potion',
'stroll',
'stanch',
'scurry',
'tolerate',
'waterway',
'butterfly',
'clapper',
'scuzzy',
'nuttiness',
'stuffing',
'altar',
'dummy',
'maritime',
'polar',
'viewer',
'pickax',
'voltage',
'shrub',
'curious',
'catbird',
'chateaux',
'precipice',
'innuendo',
'imminent',
'shrilly',
'watchman',
'hairdo',
'gangling',
'dubiously',
'sexually',
'mailer',
'vibrancy',
'alarmist',
'rusty',
'rancher',
'workweek',
'pastiche',
'kebab',
'moisten',
'eiderdown',
'maroon',
'undersea',
'isolate',
'Dacron',
'overall',
'adjoin',
'drank',
'gaudily',
'dustpan',
'graph',
'hallow',
'mortgage',
'escapade',
'zither',
'online',
'qualify',
'glorified',
'moonbeam',
'refine',
'leavening',
'drafty',
'steadily',
'defoliate',
'rocky',
'debtor',
'chortle',
'filet',
'archaism',
'browser',
'bawdy',
'climber',
'soprano',
'massacre',
'matrimony',
'peace',
'lameness',
'inlet',
'willpower',
'oddity',
'stabilize',
'prosaic',
'bassoon',
'malinger',
'freshen',
'fiord',
'vivacious',
'alarming',
'thrall',
'vaporize',
'right',
'luxuriant',
'goiter',
'tried',
'arsenal',
'movie',
'sidearm',
'pathogen',
'allege',
'obviously',
'disparate',
'resell',
'oboist',
'liken',
'eyesight',
'menopause',
'unbolt',
'waistline',
'channel',
'pussy',
'chlorine',
'sunless',
'medalist',
'civilize',
'sullen',
'vouch',
'Christian',
'thrum',
'woodcock',
'brisket',
'bathe',
'defecate',
'braid',
'parch',
'brainless',
'budge',
'ramble',
'pedant',
'repentant',
'mayoral',
'shadow',
'milksop',
'novitiate',
'backside',
'deputize',
'shoemaker',
'totality',
'stale',
'panel',
'swimmer',
'darling',
'sawhorse',
'enforce',
'president',
'sunroof',
'recite',
'gobbler',
'regicide',
'ruffle',
'brownout',
'fixer',
'yardstick',
'hoariness',
'crusader',
'abject',
'creepy',
'earnings',
'Saturn',
'sorrowful',
'rainwater',
'silica',
'badminton',
'lowland',
'resigned',
'gauche',
'strife',
'adduce',
'shimmy',
'globally',
'synergism',
'snowbound',
'cooperate',
'satisfied',
'thighbone',
'meagerly',
'pigeon',
'ridicule',
'voracious',
'include',
'broken',
'haunch',
'incurious',
'belittle',
'voiceless',
'milkweed',
'magnate',
'venturous',
'globe',
'damsel',
'importer',
'stole',
'producer',
'inferior',
'inelegant',
'accent',
'focal',
'martyr',
'appeaser',
'unequaled',
'nontoxic',
'peerless',
'ripper',
'sinew',
'office',
'worthless',
'shard',
'proboscis',
'royally',
'catgut',
'prototype',
'snide',
'examine',
'eggplant',
'academy',
'cheapness',
'hardly',
'superstar',
'clumsily',
'alleviate',
'birthrate',
'eagle',
'unlikely',
'fleetness',
'coldly',
'snuffer',
'sunburnt',
'showcase',
'shroud',
'reiterate',
'firewater',
'larva',
'deviant',
'sumach',
'breeding',
'sandbank',
'colonel',
'wistful',
'postpaid',
'fluke',
'reception',
'intake',
'balcony',
'prescribe',
'hookworm',
'agitator',
'entry',
'appertain',
'fount',
'exporter',
'catwalk',
'rebuff',
'bosom',
'quiche',
'sniff',
'trout',
'iambic',
'swordplay',
'toilsome',
'expiate',
'frisk',
'bubbly',
'caster',
'effusion',
'shocker',
'fortress',
'satchel',
'confront',
'memorably',
'farthing',
'pretense',
'rating',
'objection',
'moose',
'economic',
'banyan',
'misdirect',
'taffy',
'wineglass',
'unpack',
'crossfire',
'impious',
'harpoon',
'defroster',
'crumbly',
'soporific',
'sister',
'snowfall',
'candidly',
'millionth',
'evolution',
'croup',
'fragile',
'reefer',
'humbly',
'loathe',
'pristine',
'raggedy',
'fetishism',
'bereft',
'lifestyle',
'pompom',
'valuable',
'immodest',
'horizon',
'filter',
'marquess',
'Hades',
'redness',
'forbore',
'enhance',
'earmark',
'theater',
'escarole',
'grafter',
'survivor',
'armpit',
'relish',
'emulation',
'dissent',
'naivete',
'begone',
'splay',
'demotion',
'styli',
'primate',
'quaver',
'motorbike',
'brick',
'buoyant',
'eulogy',
'crassness',
'bucolic',
'skunk',
'famous',
'savant',
'panacea',
'insulator',
'brutally',
'lupine',
'custom',
'endways',
'bugbear',
'shady',
'vocation',
'scarify',
'confess',
'hungover',
'punch',
'divert',
'hokey',
'voyeurism',
'virulent',
'huckster',
'height',
'attache',
'entrance',
'connect',
'acetone',
'loaded',
'slobber',
'pretext',
'obnoxious',
'cumulus',
'plushy',
'raucous',
'washer',
'precision',
'pence',
'brink',
'centipede',
'tired',
'infuriate',
'skull',
'swagger',
'fibrous',
'balloon',
'cloud',
'watchdog',
'portrayal',
'grizzled',
'adeptly',
'cardsharp',
'reticent',
'plentiful',
'cortex',
'prospect',
'prophecy',
'cacao',
'herring',
'loutish',
'saturnine',
'stucco',
'mnemonic',
'scanty',
'taking',
'granulate',
'retake',
'egregious',
'outreach',
'develop',
'briquette',
'silent',
'thereupon',
'cassava',
'happiness',
'humorist',
'hysterics',
'possessed',
'protozoa',
'parity',
'graphic',
'slimy',
'dizzily',
'unload',
'script',
'cortices',
'southerly',
'laudable',
'nexus',
'listen',
'tackle',
'saliva',
'forsythia',
'Seneca',
'triple',
'Burgundy',
'homeland',
'physician',
'skywards',
'dander',
'aptness',
'harmonic',
'cistern',
'Europe',
'firstborn',
'Kremlin',
'behest',
'taper',
'nostril',
'postlude',
'quantum',
'wealth',
'unicycle',
'another',
'modify',
'twist',
'sweeper',
'Korean',
'pitifully',
'hawker',
'spindly',
'unreal',
'samovar',
'upstage',
'bulkhead',
'lateral',
'scrambler',
'saltiness',
'tennis',
'mayday',
'esthete',
'backslid',
'funnel',
'armchair',
'pagoda',
'attune',
'horny',
'through',
'couple',
'sadistic',
'cloven',
'guzzle',
'seventh',
'fondness',
'collision',
'twine',
'larceny',
'purplish',
'cleanser',
'marcher',
'liver',
'requital',
'archway',
'condense',
'embryo',
'bouffant',
'stiffen',
'pulsation',
'halve',
'miscarry',
'couplet',
'pathway',
'cannon',
'forty',
'horrify',
'Snowbelt',
'eighteen',
'adios',
'recipe',
'hostess',
'contrary',
'ritual',
'desiccate',
'terribly',
'slaphappy',
'migraine',
'juiciness',
'secede',
'furlong',
'tabular',
'bareness',
'terrorist',
'paternal',
'parley',
'payable',
'headline',
'unhand',
'insolvent',
'circadian',
'corps',
'vector',
'levity',
'illegibly',
'diabetes',
'generally',
'laterally',
'percale',
'archive',
'saviour',
'gangly',
'unwitting',
'excitable',
'intrigue',
'intensity',
'bolero',
'hideout',
'thirsty',
'devolve',
'exhibit',
'decent',
'frequent',
'inflate',
'plumbing',
'moneyed',
'bunion',
'penniless',
'immature',
'marsupial',
'invisible',
'overtime',
'hostile',
'answer',
'whine',
'ovule',
'celery',
'sunburn',
'stigma',
'klutzy',
'mammary',
'morphine',
'cystic',
'mistaken',
'division',
'excited',
'gifted',
'facility',
'bounds',
'reward',
'glandular',
'grayness',
'throng',
'equator',
'gruesome',
'upwardly',
'isolation',
'parting',
'scarcity',
'scarce',
'mallow',
'savagely',
'Halloween',
'brazenly',
'dietetic',
'hooker',
'prior',
'porous',
'combine',
'encroach',
'starkly',
'dissolve',
'orchard',
'defend',
'bartender',
'guardedly',
'allegro',
'mimetic',
'South',
'astutely',
'tastiness',
'hyacinth',
'deflate',
'papyri',
'sniffles',
'shortstop',
'deference',
'stupor',
'sensation',
'hives',
'nonskid',
'lunacy',
'mansion',
'liberally',
'guileless',
'meddler',
'marigold',
'hungrily',
'transept',
'Sioux',
'inverse',
'gloss',
'outshine',
'vacancy',
'captive',
'stricture',
'derogate',
'allay',
'weepy',
'giggle',
'inventive',
'Viking',
'marginal',
'acacia',
'Arctic',
'hoarder',
'endemic',
'vying',
'meanly',
'dyspeptic',
'turkey',
'molest',
'punitive',
'auxiliary',
'minion',
'milestone',
'ganglia',
'thirst',
'vacuous',
'character',
'caulk',
'insight',
'reverse',
'correct',
'nuthatch',
'result',
'frost',
'sonnet',
'provoke',
'jeans',
'fragrance',
'electrode',
'onset',
'pinkie',
'artery',
'papyrus',
'gumdrop',
'befoul',
'testily',
'ravioli',
'mandrill',
'multitude',
'purveyor',
'fleece',
'manner',
'snigger',
'summary',
'jerkwater',
'employer',
'neuralgic',
'polestar',
'oblong',
'windpipe',
'health',
'stacks',
'afield',
'sterile',
'asymmetry',
'cheeky',
'humorless',
'farthest',
'diabetic',
'orange',
'breed',
'screwball',
'nonprofit',
'filling',
'upcoming',
'meekness',
'icing',
'ineffable',
'carton',
'oaken',
'whore',
'small',
'fascism',
'vexatious',
'cheque&',
'poetry',
'neutrino',
'kickoff',
'afterlife',
'decided',
'dilation',
'forcible',
'gourmet',
'mould&',
'dismay',
'cynicism',
'abdomen',
'treatise',
'rebuild',
'parabola',
'wiggle',
'autumnal',
'dowdy',
'Messianic',
'wiretap',
'culinary',
'furnish',
'hyena',
'timidly',
'Bolivian',
'lymph',
'despise',
'airhead',
'allusive',
'enquiry',
'oriole',
'deform',
'loser',
'workbook',
'mooch',
'resurface',
'juvenile',
'bandwagon',
'Athena',
'madman',
'vitiate',
'guidance',
'coyness',
'astride',
'kilobyte',
'abduct',
'armory',
'devilment',
'tactical',
'infamous',
'fuddle',
'groom',
'dressage',
'liking',
'advances',
'frighten',
'digress',
'ravel',
'nowadays',
'enjoin',
'posture',
'drool',
'skyjacker',
'respire',
'resurrect',
'butterfat',
'bulge',
'divorce',
'ivory',
'cockiness',
'aftermath',
'airwaves',
'wrath',
'specific',
'helpful',
'curiously',
'Amazon',
'integer',
'national',
'nebula',
'heretical',
'detect',
'piteous',
'monitor',
'immensely',
'afford',
'scalper',
'pumpkin',
'roller',
'intention',
'marked',
'roguish',
'registrar',
'umbrage',
'endlessly',
'ovation',
'recover',
'dartboard',
'potholder',
'prerecord',
'cosmonaut',
'mention',
'rheum',
'prompt',
'elves',
'mangrove',
'coloring',
'Hebrew',
'malaria',
'coitus',
'dramatic',
'incorrect',
'broiler',
'mammalian',
'minor',
'Nigerian',
'infect',
'killjoy',
'sorority',
'depose',
'fiftieth',
'uphill',
'simulator',
'ladylike',
'unfounded',
'unnerving',
'unruly',
'daybed',
'musty',
'lordship',
'parental',
'glitter',
'halfway',
'baloney',
'sycamore',
'gunrunner',
'thinly',
'doorman',
'accost',
'satiate',
'imagery',
'alongside',
'koala',
'neath',
'lampoon',
'airborne',
'notably',
'basically',
'grouchy',
'scented',
'grotesque',
'heredity',
'lamasery',
'lentil',
'robbery',
'tediously',
'cutthroat',
'crisp',
'squint',
'gasket',
'cachet',
'bestrode',
'emergent',
'plunge',
'badge',
'fusty',
'unisex',
'stalemate',
'glamour',
'gimmickry',
'hexameter',
'fuzzily',
'scene',
'crisply',
'falsely',
'debase',
'salsa',
'crease',
'hitter',
'wrest',
'habitable',
'atheism',
'downfall',
'annulment',
'epileptic',
'rompers',
'menhaden',
'govern',
'allegedly',
'blood',
'sinuous',
'traceable',
'batter',
'pursuer',
'granny',
'crematory',
'blunder',
'corrosive',
'apology',
'sublimate',
'rebate',
'depiction',
'censor',
'orotund',
'sustain',
'millipede',
'ample',
'potbelly',
'dovetail',
'airport',
'feminism',
'resident',
'Masonic',
'sucker',
'backdrop',
'comrade',
'hippy',
'begin',
'throb',
'reveal',
'advent',
'exquisite',
'crafty',
'stile',
'spurious',
'wilful',
'dismount',
'somberly',
'centenary',
'various',
'honorably',
'stake',
'prune',
'granular',
'chaff',
'cruelly',
'blame',
'thematic',
'peephole',
'pedestal',
'fugue',
'entangle',
'treadmill',
'panache',
'cogwheel',
'boozer',
'upstart',
'stapler',
'stingray',
'merchant',
'button',
'addiction',
'tubular',
'propose',
'grenade',
'parentage',
'lackey',
'trimmings',
'plover',
'puffball',
'tenon',
'iniquity',
'knavish',
'media',
'casuistry',
'matron',
'mocha',
'depravity',
'finicky',
'flail',
'emergency',
'pilferer',
'nominee',
'blueberry',
'mourner',
'austere',
'teenager',
'gelatin',
'stimulant',
'dinosaur',
'itchy',
'cleft',
'throwback',
'epilogue',
'avarice',
'drawing',
'heart',
'inclusion',
'caginess',
'rebellion',
'trapeze',
'grainy',
'rubber',
'subplot',
'civics',
'cutlass',
'onetime',
'Celtic',
'wisecrack',
'hearing',
'keratin',
'radiate',
'thespian',
'moodily',
'lisle',
'greeting',
'slacks',
'riddle',
'biting',
'pugilism',
'downpour',
'caution',
'interdict',
'formally',
'doily',
'rejoinder',
'purely',
'crack',
'guitar',
'charisma',
'outlook',
'jointly',
'medical',
'dolefully',
'Navajo',
'smother',
'thirty',
'plectrum',
'working',
'eaglet',
'slain',
'ethic',
'believe',
'popular',
'keypunch',
'template',
'conga',
'accolade',
'kindly',
'empty',
'clearance',
'thump',
'flier',
'snuffle',
'nominate',
'Pluto',
'perch',
'limbo',
'invasion',
'uvular',
'morbidity',
'fraught',
'nickname',
'tenancy',
'pedagogy',
'property',
'divisive',
'salver',
'guerilla',
'sunrise',
'anybody',
'certain',
'maybe',
'linden',
'mover',
'camel',
'potable',
'panicky',
'boxing',
'engulf',
'maniacal',
'spring',
'folly',
'septic',
'cruiser',
'never',
'serene',
'violator',
'woodpile',
'kitschy',
'testimony',
'foothold',
'whereupon',
'weeknight',
'convoy',
'godsend',
'imbalance',
'gland',
'pompously',
'vaporizer',
'statistic',
'ambience',
'provider',
'wolfhound',
'unpaid',
'asbestos',
'bandy',
'shopworn',
'blowtorch',
'demurely',
'chatterer',
'drizzly',
'commerce',
'haggle',
'silence',
'scumbag',
'circulate',
'spangle',
'deride',
'rummy',
'helix',
'conjugate',
'roundup',
'softwood',
'vanity',
'knockout',
'jackpot',
'quarrel',
'diagnose',
'omnibus',
'adjourn',
'interlock',
'closure',
'sudden',
'cretin',
'amidships',
'catty',
'stricken',
'innkeeper',
'Congress',
'feverish',
'withdrawn',
'popgun',
'tillage',
'meanness',
'chocolate',
'foulness',
'duplicity',
'petulant',
'curative',
'premises',
'hedonism',
'crumb',
'necktie',
'abeam',
'befuddle',
'flattop',
'uprising',
'piazza',
'madhouse',
'jauntily',
'tangerine',
'rascal',
'globule',
'copra',
'chronicle',
'sixteen',
'mutineer',
'rotten',
'clove',
'ugliness',
'obliquely',
'brace',
'datum',
'machismo',
'geometric',
'hoodlum',
'berate',
'vigilant',
'perforate',
'enlistee',
'bracing',
'atria',
'musketeer',
'jocund',
'monetary',
'beryllium',
'should',
'Jacob',
'notation',
'seasick',
'fickle',
'manhandle',
'cabaret',
'tornado',
'expend',
'venom',
'waiver',
'platypus',
'firth',
'twinge',
'firmly',
'hobgoblin',
'powerless',
'twitch',
'airship',
'cutter',
'equation',
'warhorse',
'taxing',
'decline',
'barbarity',
'ruinously',
'flowery',
'pedal',
'attenuate',
'playact',
'vapidness',
'holdover',
'frailty',
'inkblot',
'ligature',
'unscathed',
'doggone',
'bobble',
'streak',
'habitual',
'uniform',
'dislodge',
'nasally',
'oxide',
'repudiate',
'builder',
'unguarded',
'implant',
'elegant',
'misspelt',
'spotter',
'respond',
'precis',
'lettuce',
'enlighten',
'palomino',
'adamant',
'thirstily',
'crest',
'hijack',
'conquest',
'admission',
'designer',
'hippie',
'unfasten',
'stamp',
'smelter',
'navigate',
'clover',
'fixture',
'tawdry',
'aurally',
'strum',
'snowplow',
'moveable',
'umpteen',
'monogamy',
'joviality',
'boastful',
'Lutheran',
'ninety',
'postpone',
'barium',
'vapidity',
'bastard',
'munchies',
'soapstone',
'yardarm',
'Jewish',
'quahog',
'roentgen',
'hurried',
'tsunami',
'wizard',
'smirch',
'learner',
'cosmos',
'fluffy',
'diaper',
'spend',
'abstain',
'outworn',
'modestly',
'press',
'barker',
'canopy',
'immediate',
'mantle',
'migrant',
'beating',
'business',
'latent',
'mantra',
'repackage',
'descend',
'enigmatic',
'sponsor',
'squab',
'overlook',
'crevice',
'antitoxin',
'hopeless',
'interplay',
'brusquely',
'callow',
'flatly',
'sorghum',
'goody',
'rubdown',
'subhuman',
'torch',
'subscribe',
'hunting',
'diacritic',
'pelvis',
'gleeful',
'however',
'implement',
'hunker',
'sightseer',
'slickly',
'jumble',
'blatantly',
'umbrella',
'garrulous',
'excrement',
'young',
'inactive',
'guaranty',
'dandle',
'unawares',
'scabbard',
'overshoot',
'trickery',
'newsman',
'lowness',
'cloudless',
'blowzy',
'alter',
'cranium',
'goulash',
'locution',
'catharsis',
'burnoose',
'marquee',
'versus',
'acrylic',
'instinct',
'sprang',
'carpal',
'reminisce',
'fussiness',
'reversal',
'frozen',
'resurgent',
'liable',
'fatigues',
'twitter',
'exhume',
'unbosom',
'croquette',
'pertinent',
'Israelite',
'avidity',
'prodigy',
'naturally',
'wherefore',
'mismatch',
'soulful',
'chomp',
'twirl',
'unsold',
'oilcloth',
'womenfolk',
'expectant',
'Solomon',
'nocturne',
'crucible',
'bailiwick',
'morose',
'adobe',
'midpoint',
'poetical',
'reliable',
'limestone',
'rancor',
'vertebra',
'weaver',
'nobly',
'leanness',
'disdain',
'overlaid',
'strudel',
'Lucifer',
'wantonly',
'Chinese',
'praise',
'deterrent',
'goblet',
'residue',
'bulwark',
'ashram',
'stringy',
'architect',
'mukluk',
'uneven',
'frock',
'beholder',
'selves',
'devoid',
'vinyl',
'fleet',
'galore',
'prefix',
'numeral',
'voyage',
'oxygen',
'portion',
'transcend',
'prick',
'forecast',
'filbert',
'jitterbug',
'terraria',
'misdeed',
'licorice',
'gimpy',
'faceless',
'maladroit',
'pastel',
'undercut',
'frostbite',
'espousal',
'natal',
'nobility',
'sportive',
'honoraria',
'upright',
'reflect',
'obese',
'somnolent',
'satiny',
'carnival',
'consume',
'equalize',
'wanting',
'deprogram',
'sleekness',
'fireplace',
'secretly',
'opening',
'esophagi',
'filch',
'dawdler',
'foresight',
'stomach',
'worship',
'soapsuds',
'boondocks',
'glitch',
'suave',
'numerator',
'smoky',
'headgear',
'ruler',
'stopover',
'dully',
'resupply',
'offspring',
'Thursday',
'history',
'creche',
'around',
'enthrall',
'reformer',
'aught',
'loch&',
'arose',
'roomer',
'lyceum',
'culvert',
'douse',
'allspice',
'stockroom',
'penny',
'agonize',
'antimony',
'proverb',
'feedback',
'emptily',
'gossipy',
'patently',
'underlie',
'sassy',
'composite',
'dermis',
'lopsided',
'dither',
'liberal',
'symptom',
'stupid',
'economy',
'coagulate',
'wanderer',
'unsound',
'laminate',
'muralist',
'corrugate',
'gridiron',
'homemade',
'zephyr',
'carpeting',
'agreeably',
'waterfall',
'wrestler',
'greet',
'verbatim',
'gluttony',
'burnout',
'logistics',
'absence',
'perdition',
'returnee',
'weeder',
'glycerol',
'apartment',
'fastness',
'castor',
'stark',
'chicle',
'neither',
'gross',
'mutton',
'unethical',
'algebra',
'diaphragm',
'lassitude',
'nebulae',
'goodwill',
'retarded',
'warrant',
'consul',
'destroyer',
'lilac',
'silicate',
'mixed',
'minimal',
'framework',
'outsold',
'fishbowl',
'purser',
'wiener',
'balky',
'legible',
'flying',
'futility',
'collie',
'roundworm',
'humpback',
'podium',
'populism',
'lactate',
'delegate',
'cardinal',
'arrest',
'standard',
'click',
'NAACP',
'stymie',
'urgently',
'reopen',
'possum',
'paymaster',
'plunder',
'subsist',
'paginate',
'arraign',
'shakiness',
'timorous',
'curable',
'melodious',
'downbeat',
'courtroom',
'swipe',
'cheery',
'whistle',
'mandate',
'gassy',
'sulfurous',
'bloodshed',
'devilish',
'oversleep',
'columbine',
'stain',
'dehydrate',
'lethal',
'Quaker',
'induce',
'fondly',
'explore',
'shingle',
'damnably',
'cipher',
'insomniac',
'scolding',
'ginger',
'pleasure',
'unanimity',
'essayist',
'Norseman',
'interrupt',
'plaything',
'indignity',
'cultural',
'thirteen',
'eyetooth',
'million',
'deacon',
'guilder',
'perspire',
'software',
'earache',
'compass',
'spherical',
'ardent',
'restless',
'energy',
'viewing',
'abysmally',
'imposing',
'nitpick',
'gable',
'moral',
'valet',
'covering',
'abandoned',
'shaggy',
'synonym',
'suffuse',
'polymer',
'shrewish',
'madame',
'forgiving',
'densely',
'laureate',
'leash',
'wrangle',
'cheroot',
'contour',
'thiamin',
'soothe',
'untangle',
'wearable',
'bitumen',
'transom',
'svelte',
'waspish',
'opener',
'overstock',
'criterion',
'botanical',
'saunter',
'lowly',
'chickpea',
'loathing',
'skeleton',
'Flemish',
'ticket',
'eyeliner',
'comport',
'airline',
'tangible',
'attack',
'unless',
'voluble',
'fashion',
'undies',
'blithely',
'passing',
'varsity',
'foray',
'topmost',
'creak',
'creeper',
'nightclub',
'succeed',
'mesmerism',
'humanism',
'relent',
'shark',
'slippage',
'dispose',
'shortcake',
'unrivaled',
'illiberal',
'tightness',
'seemingly',
'hickey',
'handshake',
'overran',
'emotion',
'north',
'misuse',
'gritty',
'memory',
'outdoors',
'sweep',
'uppercase',
'lemon',
'toddy',
'litigious',
'eggnog',
'angina',
'messiness',
'fresh',
'adipose',
'tenant',
'kibitz',
'adverse',
'inequity',
'sulfuric',
'daddy',
'dusty',
'haystack',
'stipulate',
'reputed',
'glycerine',
'burning',
'crinkly',
'liven',
'lemony',
'inform',
'paschal',
'decisive',
'bullfrog',
'wringer',
'moderator',
'carpentry',
'veneer',
'tyrant',
'midwifery',
'learned',
'luncheon',
'convoke',
'poorly',
'garnish',
'literally',
'stirring',
'dense',
'reference',
'palsy',
'coffer',
'thorny',
'student',
'sleek',
'dishcloth',
'orate',
'mediate',
'rankle',
'salvation',
'works',
'boiler',
'pervasive',
'shiftily',
'stateside',
'untaught',
'candle',
'leftist',
'itemize',
'charge',
'flesh',
'facet',
'tourism',
'hereupon',
'nervy',
'pizzicato',
'punctuate',
'heehaw',
'spareribs',
'recurrent',
'ascend',
'lumberman',
'shoplift',
'difficult',
'insensate',
'thinness',
'knickers',
'carrion',
'continual',
'network',
'mundane',
'cervix',
'sultana',
'camera',
'gourmand',
'fielder',
'dungarees',
'forego',
'noisily',
'corporate',
'hayloft',
'gamut',
'scimitar',
'snooze',
'pirate',
'identify',
'crank',
'almighty',
'keenly',
'paprika',
'stolidly',
'mustache',
'walnut',
'angelic',
'publish',
'indeed',
'warthog',
'museum',
'anise',
'deducible',
'eureka',
'roughen',
'newsreel',
'sectarian',
'drifter',
'redeemer',
'cheers',
'woodbine',
'battery',
'lenient',
'callus',
'clarity',
'epigram',
'lather',
'suffix',
'forensic',
'mildly',
'dicker',
'automatic',
'marquis',
'dressing',
'pantry',
'Swede',
'conveyor',
'trailer',
'recharge',
'literal',
'rocker',
'washbasin',
'rendering',
'delight',
'malignity',
'annoy',
'suture',
'enter',
'purify',
'moleskin',
'shaman',
'kneel',
'menorah',
'account',
'diverse',
'glucose',
'satire',
'serried',
'joule',
'evoke',
'bloomers',
'climate',
'mysticism',
'omelette',
'dismiss',
'erasure',
'puckish',
'bought',
'castoff',
'sorry',
'today',
'flipper',
'former',
'spout',
'chrysalis',
'assess',
'snobbish',
'direction',
'shirttail',
'really',
'slung',
'subtly',
'baroque',
'crash',
'drawl',
'sassafras',
'novice',
'synopsis',
'popularly',
'caterer',
'unlearn',
'dietician',
'brutishly',
'stork',
'castrate',
'pepsin',
'hardener',
'buffalo',
'haggard',
'tritely',
'adrift',
'alike',
'ethos',
'interior',
'avatar',
'highway',
'potency',
'fatness',
'dirge',
'mothball',
'reenact',
'glumly',
'tidings',
'anytime',
'tumult',
'passivity',
'pestilent',
'plaintive',
'majority',
'plight',
'anthem',
'literacy',
'subset',
'warlock',
'ignominy',
'fussy',
'condemn',
'golden',
'notify',
'theses',
'factional',
'hauteur',
'unsung',
'narwhal',
'onwards',
'yodel',
'sprat',
'capacity',
'thousand',
'slogan',
'unloved',
'ingrown',
'angle',
'phantasm',
'equally',
'tenure',
'banknote',
'encumber',
'unlucky',
'neigh',
'junky',
'undid',
'stratify',
'crowded',
'viper',
'graceful',
'fatten',
'bleachers',
'dinner',
'energetic',
'shock',
'earnestly',
'grouch',
'valueless',
'toneless',
'prioress',
'textile',
'clatter',
'artlessly',
'ligament',
'scissors',
'wheedle',
'mounting',
'unready',
'commuter',
'goldenrod',
'combat',
'Goliath',
'peacetime',
'gauge',
'frugality',
'archangel',
'pinky',
'crazy',
'mockery',
'cheapen',
'windlass',
'straddle',
'depraved',
'beater',
'riskiness',
'jailer',
'fulcra',
'ferric',
'kittenish',
'farcical',
'parricide',
'compound',
'morocco',
'gospel',
'evildoer',
'popover',
'verdant',
'ditch',
'ending',
'opacity',
'guarded',
'flexible',
'sugar',
'merrily',
'pyramidal',
'credulity',
'heraldic',
'codify',
'ammonia',
'impede',
'infatuate',
'nothing',
'hybrid',
'adorable',
'reexamine',
'skier',
'kidnaper',
'vegan',
'preserver',
'primer',
'indecent',
'bigotry',
'recourse',
'cookout',
'topless',
'guiltless',
'squeamish',
'polyglot',
'steamboat',
'cursory',
'writing',
'gunshot',
'quoit',
'pigtail',
'forefoot',
'gathering',
'revalue',
'fossilize',
'below',
'brevity',
'schmaltzy',
'violent',
'somewhat',
'pause',
'terminus',
'swill',
'optically',
'leprosy',
'market',
'unleaded',
'elongate',
'primitive',
'cupboard',
'gyrate',
'catkin',
'lucre',
'happening',
'velour',
'imperfect',
'parody',
'reagent',
'nuptial',
'bogeyman',
'breech',
'amputate',
'fatefully',
'heraldry',
'albatross',
'porter',
'enrapture',
'unproven',
'racist',
'adjust',
'deface',
'billionth',
'smoulder',
'phoney',
'girlish',
'ocular',
'objector',
'caste',
'bulimic',
'witless',
'coupe',
'baldness',
'bicuspid',
'memoirs',
'sticky',
'longhand',
'sneeze',
'version',
'amigo',
'normalize',
'tranquil',
'option',
'symphonic',
'earmuffs',
'innate',
'alligator',
'fructose',
'favor',
'happily',
'meadow',
'gamete',
'outspread',
'phony',
'minstrel',
'bagel',
'dominion',
'digital',
'civilized',
'poodle',
'eeriness',
'metabolic',
'normative',
'uproar'
]
|
#Class to calculate the LastPriceWindow and LastPriceTotal
class CUtilsSpread:
def GetLastPriceWindow(self, data_object, list_index, time_window_index):
while data_object.m_DatetimeList[list_index] <= data_object.m_strTimeWindowList[time_window_index]:
list_index += 1
if list_index >= len(data_object.m_fPriceList) :
break
data_object.m_fLastPriceList.append(data_object.m_fPriceList[list_index - 1])
data_object.m_strLastPriceTimestampList.append(data_object.m_strTimeWindowList[time_window_index])
return list_index
def GetLastPriceTotal(self, data_object):
list_index = 0
for iter in range(0, len(data_object.m_strTimeWindowList)):
if list_index >= len(data_object.m_fPriceList):
break
list_index = self.GetLastPriceWindow(data_object, list_index, iter)
return True
|
'''
Author: tusikalanse
Date: 2021-07-13 20:13:20
LastEditTime: 2021-07-13 20:30:51
LastEditors: tusikalanse
Description:
'''
lis = [0, 2]
for i in range(1, 34):
lis.extend([1, 2 * i, 1])
def gcd(a, b):
return a if b == 0 else gcd(b, a % b)
def gao(n):
numerator, denominator = lis[n], 1
for i in range(n - 1, 0, -1):
numerator, denominator = denominator, numerator
numerator += denominator * lis[i]
g = gcd(numerator, denominator)
numerator //= g
denominator //= g
return [numerator, denominator]
print(gao(100))
e = gao(100)[0]
s = sum(map(int, str(e)))
print(s) |
# Ejercicio 1
# Formatea los siguientes valores para mostrar el resultado indicado:
#
# "Hola Mundo" → Alineado a la derecha en 20 caracteres
# "Hola Mundo" → Truncamiento en el cuarto carácter (índice 3)
# "Hola Mundo" → Alineamiento al centro en 20 caracteres con truncamiento en el segundo carácter (índice 1)
# 150 → Formateo a 5 números enteros rellenados con ceros
# 7887 → Formateo a 7 números enteros rellenados con espacios
# 20.02 → Formateo a 3 números enteros y 3 números decimales
print('{:>20}'.format('Hola Mundo'))
print('{:.4}'.format('Hola Mundo'))
print('{:^20.2}'.format('Hola Mundo'))
print('{:05d}'.format(150))
print('{: 7d}'.format(7887))
print('{:07.3f}'.format(20.02))
|
#pylint:disable=E0001
'''
We shall consider fractions like, 30/50 = 3/5, to be trivial examples.
There are exactly four non-trivial examples of this type of fraction, less than one in value, and containing two digits in the numerator and denominator.
If the product of these four fractions is given in its lowest common terms, find the value of the denominator.
'''
fracts=[]
def is_cancelling_fraction(x, y):
if x == y:
return False
global fracts
a = set(str(x))
b = set(str(y))
is_0_common = '0' in str(x) and '0' in str(y)
res = False
c = list(a - b)
d = list(b - a)
if len(c) == 1 and len(d) == 1 and not is_0_common:
f = int(c[0])
g = int(d[0])
if c[0]*2 == str(x) and d[0]*2 == str(y):
return False
#print(x, y)
#print(f, g)
if g > 0 and x/y == f/g and x/y < 1:
fracts.append((x, y, f, g))
#x = set(str(49)) - set(str(98))
#print(list(x)[0])
a = [is_cancelling_fraction(x, y) for x in range(10, 99) for y in range(10, 99)]
print(fracts)
print(26/65)
|
# encoding: utf-8
# module cv2.text
# from /home/davtoh/anaconda3/envs/rrtools/lib/python3.5/site-packages/cv2.cpython-35m-x86_64-linux-gnu.so
# by generator 1.144
# no doc
# no imports
# Variables with simple values
ERFILTER_NM_IHSGrad = 1
ERFILTER_NM_IHSGRAD = 1
ERFILTER_NM_RGBLGRAD = 0
ERFILTER_NM_RGBLGrad = 0
ERGROUPING_ORIENTATION_ANY = 1
ERGROUPING_ORIENTATION_HORIZ = 0
OCR_DECODER_VITERBI = 0
OCR_LEVEL_TEXTLINE = 1
OCR_LEVEL_WORD = 0
__loader__ = None
__spec__ = None
# functions
# real signature unknown; restored from __doc__
def computeNMChannels(_src, _channels=None, _mode=None):
""" computeNMChannels(_src[, _channels[, _mode]]) -> _channels """
pass
# real signature unknown; restored from __doc__
def createERFilterNM1(cb, thresholdDelta=None, minArea=None, maxArea=None, minProbability=None, nonMaxSuppression=None, minProbabilityDiff=None):
""" createERFilterNM1(cb[, thresholdDelta[, minArea[, maxArea[, minProbability[, nonMaxSuppression[, minProbabilityDiff]]]]]]) -> retval """
pass
# real signature unknown; restored from __doc__
def createERFilterNM2(cb, minProbability=None):
""" createERFilterNM2(cb[, minProbability]) -> retval """
pass
# real signature unknown; restored from __doc__
def createOCRHMMTransitionsTable(vocabulary, lexicon):
""" createOCRHMMTransitionsTable(vocabulary, lexicon) -> retval """
pass
# real signature unknown; restored from __doc__
def detectRegions(image, er_filter1, er_filter2):
""" detectRegions(image, er_filter1, er_filter2) -> regions """
pass
# real signature unknown; restored from __doc__
def erGrouping(image, channel, regions, method=None, filename=None, minProbablity=None):
""" erGrouping(image, channel, regions[, method[, filename[, minProbablity]]]) -> groups_rects """
pass
def loadClassifierNM1(filename): # real signature unknown; restored from __doc__
""" loadClassifierNM1(filename) -> retval """
pass
def loadClassifierNM2(filename): # real signature unknown; restored from __doc__
""" loadClassifierNM2(filename) -> retval """
pass
# real signature unknown; restored from __doc__
def loadOCRBeamSearchClassifierCNN(filename):
""" loadOCRBeamSearchClassifierCNN(filename) -> retval """
pass
# real signature unknown; restored from __doc__
def loadOCRHMMClassifierCNN(filename):
""" loadOCRHMMClassifierCNN(filename) -> retval """
pass
# real signature unknown; restored from __doc__
def loadOCRHMMClassifierNM(filename):
""" loadOCRHMMClassifierNM(filename) -> retval """
pass
# real signature unknown; restored from __doc__
def OCRBeamSearchDecoder_create(classifier, vocabulary, transition_probabilities_table, emission_probabilities_table, mode=None, beam_size=None):
""" OCRBeamSearchDecoder_create(classifier, vocabulary, transition_probabilities_table, emission_probabilities_table[, mode[, beam_size]]) -> retval """
pass
# real signature unknown; restored from __doc__
def OCRHMMDecoder_create(classifier, vocabulary, transition_probabilities_table, emission_probabilities_table, mode=None):
""" OCRHMMDecoder_create(classifier, vocabulary, transition_probabilities_table, emission_probabilities_table[, mode]) -> retval """
pass
# real signature unknown; restored from __doc__
def OCRTesseract_create(datapath=None, language=None, char_whitelist=None, oem=None, psmode=None):
""" OCRTesseract_create([, datapath[, language[, char_whitelist[, oem[, psmode]]]]]) -> retval """
pass
# no classes
|
class ScoringMatrix(object):
"""
Defines a scoring-matrix between Kanji
"""
def get(self, **kwargs):
raise NotImplementedError
|
# Plot statistics
# Mean global flow completion time vs. utilization pFabric
lambdasdata = [4000, 6000, 10000, 15000, 22500, 37000, 60000]
lambdasweb = [3600, 5200, 7000, 8900, 11100, 14150, 19000]
row = 0
for x in lambdasweb:
file = "../temp_save/albert/pFabric/web_search_workload/"+str(x)+"/SPPIFO8_pFabric/analysis/flow_completion.statistics"
r = open(file, 'r')
lines = r.readlines()
for i, line in enumerate(lines):
if "less_100KB_99th_fct_ms" in line:
print(line.split("=")[1].split("\n")[0])
break
r.close() |
# .................................................................................................................
level_dict["love"] = {
"scheme": "red_scheme",
"size": (13,13,13),
"intro": "love",
"help": (
"$scale(1.5)mission:\nget to the exit!",
),
"player": { "position": (0,1,-4),
"orientation": rot0,
},
"exits": [
{
"name": "peace",
"active": 1,
"position": (0,0,4),
},
],
"create":
"""
heart = [[0,0], [ 1,1], [ 2,1], [ 3,0], [ 3,-1], [ 2,-2], [ 1,-3], [0,-4],
[-1,1], [-2,1], [-3,0], [-3,-1], [-2,-2], [-1,-3]]
for h in heart:
world.addObjectAtPos (KikiBomb(), world.decenter(h[0],h[1]+1,4))
world.addObjectAtPos (KikiStone(), world.decenter(h[0],h[1]+1,-4))
world.addObjectAtPos (KikiMutant(), world.decenter(0,-4,0))
""",
}
|
# -*- coding: utf-8 -*-
"""Release data for the PyOOMUSH project."""
# Name of the package for release purposes.
name = 'PyOOMUSH'
version = '0.1'
description = "A Python Object-Oriented MUSH server."
long_description = \
"""
PyOOMUSH provides collaboratitive creation of a fully programmable
virtual world both using Python as the scripting language and using
Python as the host.
Main features:
* Flexible database design allowing any of a number of back-ends.
* Extensible module architecture to allow for the creation of new
commands, macros, and complete in-built applications.
* Session logging and reloading.
* Extensible syntax processing for special purpose situations.
* Access to the system shell with user-extensible alias system.
* Comprehensive object introspection.
* Input history, persistent across sessions.
* Readline based name completion (shell only).
* Access to the system shell with user-extensible alias system.
The latest development version is always available at the PyOOMUSH subversion
repository_.
.. _repository: http://svn.gothcandy.com/PyOOMUSH/trunk#egg=PyOOMUSH-dev
"""
license = 'BSD'
authors = {'Alice' : ('Alice Bevan-McGregor','alice@gothcandy.com')}
url = 'http://www.gothcandy.com/projects/mush'
download_url = 'http://poo.gothcandy.com/download/'
platforms = ['Linux', 'Mac OSX', 'Windows XP/2000/NT', 'Windows 95/98/ME']
keywords = ['Interactive', 'MUD', 'MUSH']
|
# Do not edit the class below except for the buildHeap,
# siftDown, siftUp, peek, remove, and insert methods.
# Feel free to add new properties and methods to the class.
class MinHeap:
def __init__(self, array):
# Do not edit the line below.
self.heap = self.buildHeap(array)
def buildHeap(self, array):
firstParentIdx = (len(array) - 2) // 2
for currIdx in reversed(range(firstParentIdx + 1)):
self.siftDown(currIdx, len(array) - 1, array)
return array
def siftDown(self, currentIdx, endIdx, heap):
childOneIdx = currentIdx * 2 + 1
while childOneIdx <= endIdx:
childTwoIdx = currentIdx * 2 + 2 if currentIdx * 2 + 2 <= endIdx else -1
if childTwoIdx != -1 and heap[childTwoIdx] < heap[childOneIdx]:
idxToSwap = childTwoIdx
else:
idxToSwap = childOneIdx
if heap[idxToSwap] < heap[currentIdx]:
self.swap(currentIdx, idxToSwap, heap)
currentIdx = idxToSwap
childOneIdx = currentIdx * 2 + 1
else:
return
def siftUp(self, currentIdx, heap):
parentIdx = (currentIdx - 1) // 2
while currentIdx > 0 and heap[currentIdx] < heap[parentIdx]:
self.swap(currentIdx, parentIdx, heap)
currentIdx = parentIdx
parentIdx = (currentIdx - 1) // 2
def peek(self):
return self.heap[0]
def remove(self):
self.swap(0, len(self.heap) - 1, self.heap)
valueToRemove = self.heap.pop()
self.siftDown(0, len(self.heap) - 1, self.heap)
return valueToRemove
def insert(self, value):
self.heap.append(value)
self.siftUp(len(self.heap) - 1, self.heap)
def swap(self, i, j, heap):
heap[i], heap[j] = heap[j], heap[i]
|
class Button:
def __init__(self, x, y, w, h, text, callback):
self.pos = x, y
self.size = w, h
self.text = text
self.callback = callback
self.bg_colour = [0, 0, 0]
self.text_colour = [255, 255, 255]
self.pushed_colour = [155, 155, 155]
self.pushed = False
def mouse_up(self, button, pos):
if button == 1 and self.pushed:
x_okay = self.pos[0] < pos[0] < (self.pos[0] + self.size[0])
y_okay = self.pos[1] < pos[1] < (self.pos[1] + self.size[1])
if x_okay and y_okay:
self.callback()
self.pushed = False
def mouse_down(self, button, pos):
if button == 1:
x_okay = self.pos[0] < pos[0] < (self.pos[0] + self.size[0])
y_okay = self.pos[1] < pos[1] < (self.pos[1] + self.size[1])
if x_okay and y_okay:
self.pushed = True
|
class Trie:
def __init__(self) -> None:
self.root = {}
self.endOfWord = ' '
def insert(self, word: str) -> None:
node = self.root
for char in word:
node = node.setdefault(char, {})
node[self.endOfWord] = self.endOfWord
def search(self, word: str) -> bool:
node = self.root
for char in word:
if char not in node:
return False
node = node[char]
return self.endOfWord in node
def startsWith(self, prefix: str) -> bool:
node = self.root
for char in prefix:
if char not in node:
return False
node = node[char]
return True
|
# library to handle stuff about your ship
##########################
# necessary imports go here
##########################
##################################
# Inaugural frigate class - Atron
##################################
# a ship needs to have certain stats
# it needs a pilot (usually the player) it needs a quantity of ammo as a limited resource,
# it needs nanite as a limited resource, and naturally hp as a limited resource
# the pilot needs to be alterable so that if we need to assign an 'npc' we can reuse the class
class Atron:
def __init__(self, hp, location):
self.hp = hp
self.cargo = []
self.location = location
self.score = 0
self.killmarks = 0
def structure_rep(self):
rep_amt = 100 - self.hp
self.hp += rep_amt
def add_cargo(self, items):
self.cargo.append(items)
def take_damage(self, damage):
self.hp -= damage
def change_location(self, location):
self.location = location
def score_change(self, points):
self.score += points
def getmarks(self, marks):
self.score += marks
class Rat:
def __init__(self, hp):
self.hp = hp
def deal_damage(self, damage):
player.hp -= 10
def take_damage(self, damage):
self.hp -= damage
class NullBlob:
def __init__(self, hp):
self.hp = hp
def deal_damage(self, damage):
player.hp -= 30
def take_damage(self, damage):
self.hp -= damage
class SoloSabre:
def __init__(self, hp):
self.hp = hp
def take_damage(self, damage):
self.hp -= damage
|
#
# PySNMP MIB module Juniper-ERX-Registry (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Juniper-ERX-Registry
# Produced by pysmi-0.3.4 at Wed May 1 14:02:31 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
OctetString, ObjectIdentifier, Integer = mibBuilder.importSymbols("ASN1", "OctetString", "ObjectIdentifier", "Integer")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ValueSizeConstraint, ConstraintsUnion, ValueRangeConstraint, ConstraintsIntersection, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "ConstraintsUnion", "ValueRangeConstraint", "ConstraintsIntersection", "SingleValueConstraint")
juniAdmin, = mibBuilder.importSymbols("Juniper-Registry", "juniAdmin")
NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance")
ModuleIdentity, Integer32, MibScalar, MibTable, MibTableRow, MibTableColumn, iso, NotificationType, MibIdentifier, Counter32, TimeTicks, Counter64, IpAddress, Unsigned32, Gauge32, Bits, ObjectIdentity = mibBuilder.importSymbols("SNMPv2-SMI", "ModuleIdentity", "Integer32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "iso", "NotificationType", "MibIdentifier", "Counter32", "TimeTicks", "Counter64", "IpAddress", "Unsigned32", "Gauge32", "Bits", "ObjectIdentity")
DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention")
juniErxRegistry = ModuleIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2))
juniErxRegistry.setRevisions(('2006-07-22 05:43', '2006-06-23 16:07', '2006-04-03 10:43', '2006-05-02 14:53', '2006-04-12 13:05', '2006-03-31 13:12', '2006-02-28 08:22', '2005-09-21 15:48', '2004-05-25 18:32', '2003-11-12 20:20', '2003-11-12 19:30', '2003-07-17 21:07', '2002-10-21 15:00', '2002-10-16 18:50', '2002-10-10 18:51', '2002-05-08 12:34', '2002-05-07 14:05', '2001-08-20 16:08', '2001-06-12 18:27', '2001-06-04 20:11',))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts: juniErxRegistry.setRevisionsDescriptions(('Obsolete erxSrp5Plus SRP.', 'Obsolete line cards: CT1-FULL, ERX-X21-V35-MOD, HSSI-3F, CE1-FULL.', 'changed status of erxSrp5Plus, erxSrp310, erxSrp5g1gEcc, erxSrp5g2gEcc to deprecated.', 'Deprecated line cards: CT1-FULL, ERX-X21-V35-MOD, HSSI-3F, CE1-FULL.', 'Changed the status of the E3-3A board to obsolete.', 'Changed the status of erxSrp5, erxSrp40, erxSrp40Plus, board to obsolete. Added new boards (erxSrp10g1gEcc, erxSrp10g2gEcc, erxSrp5g1gEcc, erxSrp5g2gEcc).', 'Added new board (erxSrp40g2gEc2).', 'Changed the status of the CT3, CT3 I/O, T3-3F, T3-3A, E3-3F, 10/100 FE-2 and 10/100 FE-2 I/O boards to obsolete.', 'Added support for the Fe8 FX IOA.', 'Added Hybrid line module and Hybrid IOA modules. Added GE2 line module and GE2 IOA module.', 'Rebranded the ERX as an E-series product.', 'Added ERX-310 hardware support. Added new Service module.', 'Replaced Unisphere names with Juniper names. Added 256M versions of OCx ATM and GE/FE modules.', 'Added support for OC12 channelized ATM/POS I/O adapters. Added support fo OC48 line card and I/O adapter. Added 12 port T3/E3 redundant midplane support.', 'Added SRP module with 40 gbps plus switch fabric. Added Vitrual Tunneling Server (VTS) module. Added X.21/V.35 Server module and I/O adapter. Added OC12 APS I/O adapters. Added redundant midplane spare I/O adapters.', 'Added GE SFP IOA module.', "Added SRP modules with 5 gbps and 40 gbps 'plus' switch fabrics.", 'Added 12 port T3/E3 channelized modules.', 'Added High Speed Serial Interface (HSSI) modules.', 'Initial version of this SNMP management information module.',))
if mibBuilder.loadTexts: juniErxRegistry.setLastUpdated('200607220543Z')
if mibBuilder.loadTexts: juniErxRegistry.setOrganization('Juniper Networks, Inc.')
if mibBuilder.loadTexts: juniErxRegistry.setContactInfo(' Juniper Networks, Inc. Postal: 10 Technology Park Drive Westford, MA 01886-3146 USA Tel: +1 978 589 5800 Email: mib@Juniper.net')
if mibBuilder.loadTexts: juniErxRegistry.setDescription('Juniper first generation E-series (ERX) edge router product family system-specific object identification values. This module defines AutonomousType (OID) values for all the physical entity types (entPhysicalVendorType). This module will be updated whenever a new type of module or other hardware becomes available in first generation E-series systems.')
juniErxEntPhysicalType = MibIdentifier((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1))
erxChassis = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 1))
if mibBuilder.loadTexts: erxChassis.setStatus('current')
if mibBuilder.loadTexts: erxChassis.setDescription("The vendor type ID for a generic first generation E-series (ERX) chassis. This identifies an 'overall' physical entity for any ERX system.")
erx700Chassis = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 1, 1))
if mibBuilder.loadTexts: erx700Chassis.setStatus('current')
if mibBuilder.loadTexts: erx700Chassis.setDescription("The vendor type ID for a first generation E-series (ERX) 7-slot chassis. This is the 'overall' physical entity for an ERX-700 or ERX-705 system (Product Code: BASE-7).")
erx1400Chassis = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 1, 2))
if mibBuilder.loadTexts: erx1400Chassis.setStatus('current')
if mibBuilder.loadTexts: erx1400Chassis.setDescription("The vendor type ID for a first generation E-series (ERX) 14-slot chassis. This is the 'overall' physical entity for an ERX-1400 system (Product Code: BASE-14).")
erx1440Chassis = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 1, 3))
if mibBuilder.loadTexts: erx1440Chassis.setStatus('current')
if mibBuilder.loadTexts: erx1440Chassis.setDescription("The vendor type ID for a first generation E-series (ERX) 14-slot chassis. This is the 'overall' physical entity for an ERX-1440 system (Product Code: BASE-1440).")
erx310ACChassis = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 1, 4))
if mibBuilder.loadTexts: erx310ACChassis.setStatus('current')
if mibBuilder.loadTexts: erx310ACChassis.setDescription("The vendor type ID for a first generation E-series (ERX) 3-slot chassis. This is the 'overall' physical entity for an ERX-310 system with AC power (Product Code: EX3-BS310AC-SYS).")
erx310DCChassis = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 1, 5))
if mibBuilder.loadTexts: erx310DCChassis.setStatus('current')
if mibBuilder.loadTexts: erx310DCChassis.setDescription("The vendor type ID for a first generation E-series (ERX) 3-slot chassis. This is the 'overall' physical entity for an ERX-310 system with redundant DC power (Product Code: EX3-BS310DC-SYS).")
erxFanAssembly = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 2))
if mibBuilder.loadTexts: erxFanAssembly.setStatus('current')
if mibBuilder.loadTexts: erxFanAssembly.setDescription('The vendor type ID for an ERX fan assembly.')
erx700FanAssembly = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 2, 1))
if mibBuilder.loadTexts: erx700FanAssembly.setStatus('current')
if mibBuilder.loadTexts: erx700FanAssembly.setDescription('The vendor type ID for an ERX 7-slot fan assembly with four fans and two -12 volt, 15 watt power converters (Product Code: FAN-7).')
erx1400FanAssembly = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 2, 2))
if mibBuilder.loadTexts: erx1400FanAssembly.setStatus('current')
if mibBuilder.loadTexts: erx1400FanAssembly.setDescription('The vendor type ID for an ERX 14-slot fan assembly with six fans and two -24 volt, 50 watt power converters (Product Code: FAN-14).')
erx300FanAssembly = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 2, 3))
if mibBuilder.loadTexts: erx300FanAssembly.setStatus('current')
if mibBuilder.loadTexts: erx300FanAssembly.setDescription('The vendor type ID for an ERX 3-slot fan assembly (Product Code: EX3-FANTRAY-FRU).')
erxPowerInput = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 3))
if mibBuilder.loadTexts: erxPowerInput.setStatus('current')
if mibBuilder.loadTexts: erxPowerInput.setDescription('The vendor type ID for an ERX power distribution unit.')
erxPdu = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 3, 1))
if mibBuilder.loadTexts: erxPdu.setStatus('current')
if mibBuilder.loadTexts: erxPdu.setDescription('The vendor type ID for an ERX-700, ERX-705 or ERX-1400 power distribution unit (Product Code: PDU).')
erx1440Pdu = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 3, 2))
if mibBuilder.loadTexts: erx1440Pdu.setStatus('current')
if mibBuilder.loadTexts: erx1440Pdu.setDescription('The vendor type ID for an ERX-1440 power distribution unit (Product Code: ERX-PDU-40-FRU).')
erx300ACPdu = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 3, 3))
if mibBuilder.loadTexts: erx300ACPdu.setStatus('current')
if mibBuilder.loadTexts: erx300ACPdu.setDescription('The vendor type ID for an ERX 3-slot AC power supply and power distribution unit (Product Code: EX3-ACPWR-FRU).')
erx300DCPdu = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 3, 4))
if mibBuilder.loadTexts: erx300DCPdu.setStatus('current')
if mibBuilder.loadTexts: erx300DCPdu.setDescription('The vendor type ID for an ERX 3-slot DC power distribution unit (Product Code: EX3-DCPSDIST-PNL).')
erxMidplane = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4))
if mibBuilder.loadTexts: erxMidplane.setStatus('current')
if mibBuilder.loadTexts: erxMidplane.setDescription('The vendor type ID for an ERX midplane.')
erx700Midplane = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 1))
if mibBuilder.loadTexts: erx700Midplane.setStatus('current')
if mibBuilder.loadTexts: erx700Midplane.setDescription('The vendor type ID for an ERX 7-slot midplane.')
erx1400Midplane = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 2))
if mibBuilder.loadTexts: erx1400Midplane.setStatus('current')
if mibBuilder.loadTexts: erx1400Midplane.setDescription('The vendor type ID for an ERX-1400 (10G 14-slot) midplane.')
erx1Plus1RedundantT1E1Midplane = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 3))
if mibBuilder.loadTexts: erx1Plus1RedundantT1E1Midplane.setStatus('deprecated')
if mibBuilder.loadTexts: erx1Plus1RedundantT1E1Midplane.setDescription('The vendor type ID for an ERX 1 + 1 redundant T1/E1 midplane (Product Code: REDMID-T1/E1/1/1). This product has reached End-of-life.')
erx2Plus1RedundantT1E1Midplane = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 4))
if mibBuilder.loadTexts: erx2Plus1RedundantT1E1Midplane.setStatus('current')
if mibBuilder.loadTexts: erx2Plus1RedundantT1E1Midplane.setDescription('The vendor type ID for an ERX 2 + 1 redundant T1/E1 midplane (Product Code: REDMID-T1/E1/2/1).')
erx3Plus1RedundantT1E1Midplane = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 5))
if mibBuilder.loadTexts: erx3Plus1RedundantT1E1Midplane.setStatus('current')
if mibBuilder.loadTexts: erx3Plus1RedundantT1E1Midplane.setDescription('The vendor type ID for an ERX 3 + 1 redundant T1/E1 midplane (Product Code: REDMID-T1/E1/3/1).')
erx4Plus1RedundantT1E1Midplane = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 6))
if mibBuilder.loadTexts: erx4Plus1RedundantT1E1Midplane.setStatus('current')
if mibBuilder.loadTexts: erx4Plus1RedundantT1E1Midplane.setDescription('The vendor type ID for an ERX 4 + 1 redundant T1/E1 midplane (Product Code: REDMID-T1/E1/4/1).')
erx5Plus1RedundantT1E1Midplane = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 7))
if mibBuilder.loadTexts: erx5Plus1RedundantT1E1Midplane.setStatus('current')
if mibBuilder.loadTexts: erx5Plus1RedundantT1E1Midplane.setDescription('The vendor type ID for an ERX 5 + 1 redundant T1/E1 midplane (Product Code: REDMID-T1/E1/5/1).')
erx1Plus1RedundantT3E3Midplane = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 8))
if mibBuilder.loadTexts: erx1Plus1RedundantT3E3Midplane.setStatus('deprecated')
if mibBuilder.loadTexts: erx1Plus1RedundantT3E3Midplane.setDescription('The vendor type ID for an ERX 1 + 1 redundant CT3/T3/E3 midplane (Product Code: REDMID-T3/E3/1/1). This product has reached End-of-life.')
erx2Plus1RedundantT3E3Midplane = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 9))
if mibBuilder.loadTexts: erx2Plus1RedundantT3E3Midplane.setStatus('current')
if mibBuilder.loadTexts: erx2Plus1RedundantT3E3Midplane.setDescription('The vendor type ID for an ERX 2 + 1 redundant CT3/T3/E3 midplane (Product Code: REDMID-T3/E3/2/1).')
erx3Plus1RedundantT3E3Midplane = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 10))
if mibBuilder.loadTexts: erx3Plus1RedundantT3E3Midplane.setStatus('current')
if mibBuilder.loadTexts: erx3Plus1RedundantT3E3Midplane.setDescription('The vendor type ID for an ERX 3 + 1 redundant CT3/T3/E3 midplane (Product Code: REDMID-T3/E3/3/1).')
erx4Plus1RedundantT3E3Midplane = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 11))
if mibBuilder.loadTexts: erx4Plus1RedundantT3E3Midplane.setStatus('current')
if mibBuilder.loadTexts: erx4Plus1RedundantT3E3Midplane.setDescription('The vendor type ID for an ERX 4 + 1 redundant CT3/T3/E3 midplane (Product Code: REDMID-T3/E3/4/1).')
erx5Plus1RedundantT3E3Midplane = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 12))
if mibBuilder.loadTexts: erx5Plus1RedundantT3E3Midplane.setStatus('current')
if mibBuilder.loadTexts: erx5Plus1RedundantT3E3Midplane.setDescription('The vendor type ID for an ERX 5 + 1 redundant CT3/T3/E3 midplane (Product Code: REDMID-T3/E3/5/1).')
erx1Plus1RedundantOcMidplane = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 13))
if mibBuilder.loadTexts: erx1Plus1RedundantOcMidplane.setStatus('deprecated')
if mibBuilder.loadTexts: erx1Plus1RedundantOcMidplane.setDescription('The vendor type ID for an ERX 1 + 1 redundant OC3/OC12 midplane (Product Code: REDMID-OC/1/1). This product has reached End-of-life.')
erx2Plus1RedundantOcMidplane = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 14))
if mibBuilder.loadTexts: erx2Plus1RedundantOcMidplane.setStatus('current')
if mibBuilder.loadTexts: erx2Plus1RedundantOcMidplane.setDescription('The vendor type ID for an ERX 2 + 1 redundant OC3/OC12 midplane (Product Code: REDMID-OC/2/1).')
erx3Plus1RedundantOcMidplane = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 15))
if mibBuilder.loadTexts: erx3Plus1RedundantOcMidplane.setStatus('deprecated')
if mibBuilder.loadTexts: erx3Plus1RedundantOcMidplane.setDescription('The vendor type ID for an ERX 3 + 1 redundant OC3/OC12 midplane (Product Code: REDMID-OC/3/1). This product has reached End-of-life.')
erx4Plus1RedundantOcMidplane = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 16))
if mibBuilder.loadTexts: erx4Plus1RedundantOcMidplane.setStatus('deprecated')
if mibBuilder.loadTexts: erx4Plus1RedundantOcMidplane.setDescription('The vendor type ID for an ERX 4 + 1 redundant OC3/OC12 midplane (Product Code: REDMID-OC/4/1). This product has reached End-of-life.')
erx5Plus1RedundantOcMidplane = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 17))
if mibBuilder.loadTexts: erx5Plus1RedundantOcMidplane.setStatus('current')
if mibBuilder.loadTexts: erx5Plus1RedundantOcMidplane.setDescription('The vendor type ID for an ERX 5 + 1 redundant OC3/OC12 midplane (Product Code: REDMID-OC/5/1).')
erx2Plus1Redundant12T3E3Midplane = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 18))
if mibBuilder.loadTexts: erx2Plus1Redundant12T3E3Midplane.setStatus('current')
if mibBuilder.loadTexts: erx2Plus1Redundant12T3E3Midplane.setDescription('The vendor type ID for an ERX 2 + 1 redundant 12 port T3/E3 midplane (Product Code: ERX-12T3-2-1-RMD).')
erx5Plus1Redundant12T3E3Midplane = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 19))
if mibBuilder.loadTexts: erx5Plus1Redundant12T3E3Midplane.setStatus('current')
if mibBuilder.loadTexts: erx5Plus1Redundant12T3E3Midplane.setDescription('The vendor type ID for an ERX 5 + 1 redundant 12 port T3/E3 midplane (Product Code: ERX-12T3-5-1-RMD).')
erx1440Midplane = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 20))
if mibBuilder.loadTexts: erx1440Midplane.setStatus('current')
if mibBuilder.loadTexts: erx1440Midplane.setDescription('The vendor type ID for an ERX-1440 (40G 14-slot) midplane.')
erx300Midplane = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 21))
if mibBuilder.loadTexts: erx300Midplane.setStatus('current')
if mibBuilder.loadTexts: erx300Midplane.setDescription('The vendor type ID for an ERX 3-slot midplane.')
erx2Plus1RedundantCOcMidplane = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 22))
if mibBuilder.loadTexts: erx2Plus1RedundantCOcMidplane.setStatus('current')
if mibBuilder.loadTexts: erx2Plus1RedundantCOcMidplane.setDescription('The vendor type ID for an ERX 2 + 1 redundant channelized OC3/OC12 midplane (Product Code: ERX-COCX-2-1-RMD).')
erx5Plus1RedundantCOcMidplane = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 4, 23))
if mibBuilder.loadTexts: erx5Plus1RedundantCOcMidplane.setStatus('current')
if mibBuilder.loadTexts: erx5Plus1RedundantCOcMidplane.setDescription('The vendor type ID for an ERX 5 + 1 redundant channelized OC3/OC12 midplane (Product Code: ERX-COCX-5-1-RMD).')
erxSrpModule = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 5))
if mibBuilder.loadTexts: erxSrpModule.setStatus('current')
if mibBuilder.loadTexts: erxSrpModule.setDescription('The vendor type ID for an ERX Switch and Router Processor (SRP) module.')
erxSrp5 = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 5, 1))
if mibBuilder.loadTexts: erxSrp5.setStatus('obsolete')
if mibBuilder.loadTexts: erxSrp5.setDescription('The vendor type ID for an ERX Switch and Router Processor (SRP) module with 5 Gbps switch fabric (Product Code: SRP-5). This product has reached End-of-life.')
erxSrp10 = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 5, 2))
if mibBuilder.loadTexts: erxSrp10.setStatus('deprecated')
if mibBuilder.loadTexts: erxSrp10.setDescription('The vendor type ID for an ERX Switch and Router Processor (SRP) module with 10 Gbps switch fabric (Product Code: SRP-10). This product has reached End-of-life.')
erxSrp10Ecc = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 5, 3))
if mibBuilder.loadTexts: erxSrp10Ecc.setStatus('current')
if mibBuilder.loadTexts: erxSrp10Ecc.setDescription('The vendor type ID for an ERX Switch and Router Processor (SRP) module with 10 Gbps switch fabric with ECC (Product Code: SRP-10-ECC).')
erxSrp40 = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 5, 4))
if mibBuilder.loadTexts: erxSrp40.setStatus('obsolete')
if mibBuilder.loadTexts: erxSrp40.setDescription('The vendor type ID for an ERX Switch and Router Processor (SRP) module with 40 Gbps switch fabric with ECC (Product Code: SRP-40-ECC). This product has reached End-of-life.')
erxSrp5Plus = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 5, 5))
if mibBuilder.loadTexts: erxSrp5Plus.setStatus('obsolete')
if mibBuilder.loadTexts: erxSrp5Plus.setDescription("The vendor type ID for an ERX Switch and Router Processor (SRP) module with 5 Gbps 'plus' switch fabric (Product Code: ERX-5ECC-SRP).")
erxSrp40Plus = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 5, 6))
if mibBuilder.loadTexts: erxSrp40Plus.setStatus('obsolete')
if mibBuilder.loadTexts: erxSrp40Plus.setDescription("The vendor type ID for an ERX Switch and Router Processor (SRP) module with 40 Gbps 'plus' switch fabric (Product Code: ERX-40EC2-SRP).")
erxSrp310 = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 5, 7))
if mibBuilder.loadTexts: erxSrp310.setStatus('deprecated')
if mibBuilder.loadTexts: erxSrp310.setDescription('The vendor type ID for an ERX Switch and Router Processor (SRP) module for the ERX-310 (Product Code: EX3-SRP-MOD).')
erxSrp40g2gEc2 = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 5, 8))
if mibBuilder.loadTexts: erxSrp40g2gEc2.setStatus('current')
if mibBuilder.loadTexts: erxSrp40g2gEc2.setDescription("The vendor type ID for an ERX Switch and Router Processor (SRP) module with 40 Gbps 'plus' switch fabric and 2GB memory (Product Code: ERX-40G2GEC2-SRP).")
erxSrp10g1gEcc = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 5, 9))
if mibBuilder.loadTexts: erxSrp10g1gEcc.setStatus('current')
if mibBuilder.loadTexts: erxSrp10g1gEcc.setDescription('The vendor type ID for an ERX Switch and Router Processor (SRP) module with 10 Gbps switch fabric and 1GB memory (Product Code: ERX-10G1GECC-SRP).')
erxSrp10g2gEcc = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 5, 10))
if mibBuilder.loadTexts: erxSrp10g2gEcc.setStatus('current')
if mibBuilder.loadTexts: erxSrp10g2gEcc.setDescription('The vendor type ID for an ERX Switch and Router Processor (SRP) module with 10 Gbps switch fabric and 2GB memory (Product Code: ERX-10G2GECC-SRP).')
erxSrp5g1gEcc = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 5, 11))
if mibBuilder.loadTexts: erxSrp5g1gEcc.setStatus('deprecated')
if mibBuilder.loadTexts: erxSrp5g1gEcc.setDescription("The vendor type ID for an ERX Switch and Router Processor (SRP) module with 5 Gbps 'plus' switch fabric and 1GB memory (Product Code: ERX-5G1GECC-SRP).")
erxSrp5g2gEcc = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 5, 12))
if mibBuilder.loadTexts: erxSrp5g2gEcc.setStatus('deprecated')
if mibBuilder.loadTexts: erxSrp5g2gEcc.setDescription("The vendor type ID for an ERX Switch and Router Processor (SRP) module with 5 Gbps 'plus' switch fabric and 2GB memory (Product Code: ERX-5G2GECC-SRP).")
erxSrpIoAdapter = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 6))
if mibBuilder.loadTexts: erxSrpIoAdapter.setStatus('current')
if mibBuilder.loadTexts: erxSrpIoAdapter.setDescription('The vendor type ID for an ERX SRP I/O adapter.')
erxSrpIoa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 6, 1))
if mibBuilder.loadTexts: erxSrpIoa.setStatus('current')
if mibBuilder.loadTexts: erxSrpIoa.setDescription('The vendor type ID for an ERX-700/705/1400/1440 SRP I/O adapter (Product Code: SRP_I/O).')
erxSrp310Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 6, 2))
if mibBuilder.loadTexts: erxSrp310Ioa.setStatus('current')
if mibBuilder.loadTexts: erxSrp310Ioa.setDescription('The vendor type ID for an ERX-310 SRP I/O adapter (Product Code: EX3-SRP-IOA).')
erxLineModule = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7))
if mibBuilder.loadTexts: erxLineModule.setStatus('current')
if mibBuilder.loadTexts: erxLineModule.setDescription('The vendor type ID for an ERX line module.')
erxCt1 = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 1))
if mibBuilder.loadTexts: erxCt1.setStatus('obsolete')
if mibBuilder.loadTexts: erxCt1.setDescription('The vendor type ID for an ERX 24 port T1 fully channelized line module (Product Code: CT1-FULL).')
erxCe1 = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 2))
if mibBuilder.loadTexts: erxCe1.setStatus('obsolete')
if mibBuilder.loadTexts: erxCe1.setDescription('The vendor type ID for an ERX 20 port E1 fully channelized line module (Product Code: CE1-FULL).')
erxCt3 = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 4))
if mibBuilder.loadTexts: erxCt3.setStatus('obsolete')
if mibBuilder.loadTexts: erxCt3.setDescription('The vendor type ID for an ERX 3 port T3 channelized line module (Product Code: CT3-3). This product has reached End-of-life.')
erxT3Atm = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 5))
if mibBuilder.loadTexts: erxT3Atm.setStatus('obsolete')
if mibBuilder.loadTexts: erxT3Atm.setDescription('The vendor type ID for an ERX 3 port T3 unchannelized cell service line module (Product Code: T3-3A). This product has reached End-of-life.')
erxT3Frame = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 6))
if mibBuilder.loadTexts: erxT3Frame.setStatus('obsolete')
if mibBuilder.loadTexts: erxT3Frame.setDescription('The vendor type ID for an ERX 3 port T3 unchannelized packet service line module (Product Code: T3-3F). This product has reached End-of-life.')
erxE3Atm = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 7))
if mibBuilder.loadTexts: erxE3Atm.setStatus('obsolete')
if mibBuilder.loadTexts: erxE3Atm.setDescription('The vendor type ID for an ERX 3 port E3 unchannelized cell service line module (Product Code: E3-3A).')
erxE3Frame = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 8))
if mibBuilder.loadTexts: erxE3Frame.setStatus('obsolete')
if mibBuilder.loadTexts: erxE3Frame.setDescription('The vendor type ID for an ERX 3 port E3 unchannelized packet service line module (Product Code: E3-3F). This product has reached End-of-life.')
erxOc3 = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 9))
if mibBuilder.loadTexts: erxOc3.setStatus('deprecated')
if mibBuilder.loadTexts: erxOc3.setDescription('The vendor type ID for an ERX dual port Optical Carrier 3 (OC-3/STM-1) SONET/SDH line module (Product Code: OC3-2). This product has reached End-of-life.')
erxOc3Oc12Atm = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 10))
if mibBuilder.loadTexts: erxOc3Oc12Atm.setStatus('current')
if mibBuilder.loadTexts: erxOc3Oc12Atm.setDescription('The vendor type ID for an ERX OC3/OC12 multi-personality cell service line module (Product Code: OC3/OC12-ATM).')
erxOc3Oc12Pos = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 11))
if mibBuilder.loadTexts: erxOc3Oc12Pos.setStatus('current')
if mibBuilder.loadTexts: erxOc3Oc12Pos.setDescription('The vendor type ID for an ERX OC3/OC12 multi-personality packet service line module (Product Code: OC3/OC12-POS).')
erxCOcx = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 12))
if mibBuilder.loadTexts: erxCOcx.setStatus('current')
if mibBuilder.loadTexts: erxCOcx.setDescription('The vendor type ID for an ERX OC3/STM1 and OC12/STM4 channelized line module (Product Code: COCX/STMX-F0).')
erxFe2 = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 13))
if mibBuilder.loadTexts: erxFe2.setStatus('obsolete')
if mibBuilder.loadTexts: erxFe2.setDescription('The vendor type ID for an ERX dual port fast (10/100) Ethernet line module (Product Code: 10/100_FE-2). This product has reached End-of-life.')
erxGeFe = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 14))
if mibBuilder.loadTexts: erxGeFe.setStatus('current')
if mibBuilder.loadTexts: erxGeFe.setDescription('The vendor type ID for an ERX multi-personality gigabit or fast (10/100) Ethernet line module (Product Code: GE/FE-8).')
erxTunnelService = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 15))
if mibBuilder.loadTexts: erxTunnelService.setStatus('current')
if mibBuilder.loadTexts: erxTunnelService.setDescription('The vendor type ID for an ERX L2TP LNS and GRE Tunnel Service line module (Product Code: TUNNEL-SERVICE).')
erxHssi = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 16))
if mibBuilder.loadTexts: erxHssi.setStatus('obsolete')
if mibBuilder.loadTexts: erxHssi.setDescription('The vendor type ID for an ERX 3 port High Speed Serial Interface (HSSI) line module (Product Code: HSSI-3F).')
erxVts = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 17))
if mibBuilder.loadTexts: erxVts.setStatus('current')
if mibBuilder.loadTexts: erxVts.setDescription('The vendor type ID for an ERX Virtual Tunnelling Server (VTS) line module (Product Code: ERX-IPSEC-MOD).')
erxCt3P12 = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 18))
if mibBuilder.loadTexts: erxCt3P12.setStatus('current')
if mibBuilder.loadTexts: erxCt3P12.setDescription('The vendor type ID for an ERX 12 port T3 channelized line module (Product Code: CT3-12-F0).')
erxV35 = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 19))
if mibBuilder.loadTexts: erxV35.setStatus('obsolete')
if mibBuilder.loadTexts: erxV35.setDescription('The vendor type ID for an ERX X.21/V.35 server line module (Product Code: ERX-X21-V35-MOD).')
erxUt3E3Ocx = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 20))
if mibBuilder.loadTexts: erxUt3E3Ocx.setStatus('current')
if mibBuilder.loadTexts: erxUt3E3Ocx.setDescription('The vendor type ID for an ERX OC12, quad OC3 or 12 port T3/E3 server line module (Product Code: ERX-UT3E3OCX-MOD).')
erxOc48 = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 21))
if mibBuilder.loadTexts: erxOc48.setStatus('current')
if mibBuilder.loadTexts: erxOc48.setDescription('The vendor type ID for an ERX single port OC-48/STM-16 SONET/SDH line module (Product Code: ERX-OC48ST16-MOD).')
erxOc3Oc12Atm256M = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 22))
if mibBuilder.loadTexts: erxOc3Oc12Atm256M.setStatus('current')
if mibBuilder.loadTexts: erxOc3Oc12Atm256M.setDescription('The vendor type ID for an ERX OC3/OC12 multi-personality cell service line module with 256mb of memory (Product Code: ERX-OCXA256M-MOD).')
erxGeFe256M = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 23))
if mibBuilder.loadTexts: erxGeFe256M.setStatus('current')
if mibBuilder.loadTexts: erxGeFe256M.setDescription('The vendor type ID for an ERX multi-personality gigabit or fast (10/100) Ethernet line module with 256mb of memory (Product Code: ERX-GEFE256M-MOD).')
erxService = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 24))
if mibBuilder.loadTexts: erxService.setStatus('current')
if mibBuilder.loadTexts: erxService.setDescription('The vendor type ID for an ERX L2TP LNS and GRE Tunnel Service line module with 256mb of memory and NAT and firewall capabilities (Product Code: ERX-SERVICE-MOD).')
erxOc3Hybrid = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 25))
if mibBuilder.loadTexts: erxOc3Hybrid.setStatus('current')
if mibBuilder.loadTexts: erxOc3Hybrid.setDescription('The vendor type ID for an ERX OC3 multi-personality cell service line module (Product Code: [450-00050-00]).')
erxGe2 = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 7, 26))
if mibBuilder.loadTexts: erxGe2.setStatus('current')
if mibBuilder.loadTexts: erxGe2.setDescription('The vendor type ID for an ERX 2 port GE line module (Product Code: [450-00044-00]).')
erxLineIoAdapter = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8))
if mibBuilder.loadTexts: erxLineIoAdapter.setStatus('current')
if mibBuilder.loadTexts: erxLineIoAdapter.setDescription('The vendor type ID for an ERX I/O adapter for a line module.')
erxCt1Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 1))
if mibBuilder.loadTexts: erxCt1Ioa.setStatus('obsolete')
if mibBuilder.loadTexts: erxCt1Ioa.setDescription('The vendor type ID for an ERX 24 port T1/J1 channelized I/O adapter (Product Code: CT1-FULL-I/O).')
erxCe1Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 2))
if mibBuilder.loadTexts: erxCe1Ioa.setStatus('obsolete')
if mibBuilder.loadTexts: erxCe1Ioa.setDescription('The vendor type ID for an ERX 20 port E1 channelized RJ48 I/O adapter (Product Code: CE1-FULL-I/O).')
erxCe1TIoa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 3))
if mibBuilder.loadTexts: erxCe1TIoa.setStatus('obsolete')
if mibBuilder.loadTexts: erxCe1TIoa.setDescription('The vendor type ID for an ERX 20 port E1 channelized Telco I/O adapter (Product Code: CE1-FULL-I/OT).')
erxCt3Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 4))
if mibBuilder.loadTexts: erxCt3Ioa.setStatus('obsolete')
if mibBuilder.loadTexts: erxCt3Ioa.setDescription('The vendor type ID for an ERX 3 port T3/E3 channelized I/O adapter (Product Code: CT3/T3-3_I/O). This product has reached End-of-life.')
erxE3Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 5))
if mibBuilder.loadTexts: erxE3Ioa.setStatus('current')
if mibBuilder.loadTexts: erxE3Ioa.setDescription('The vendor type ID for an ERX 3 port E3 I/O adapter (Product Code: E3-3_I/O).')
erxOc3Mm2Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 6))
if mibBuilder.loadTexts: erxOc3Mm2Ioa.setStatus('deprecated')
if mibBuilder.loadTexts: erxOc3Mm2Ioa.setDescription('The vendor type ID for an ERX dual port OC3/STM1 multi-mode I/O adapter (Product Code: OC3-2M_I/O). This product has reached End-of-life.')
erxOc3Sm2Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 7))
if mibBuilder.loadTexts: erxOc3Sm2Ioa.setStatus('deprecated')
if mibBuilder.loadTexts: erxOc3Sm2Ioa.setDescription('The vendor type ID for an ERX dual port OC3/STM1 single-mode I/O adapter (Product Code: OC3-2S_I/O). This product has reached End-of-life.')
erxOc3Mm4Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 8))
if mibBuilder.loadTexts: erxOc3Mm4Ioa.setStatus('current')
if mibBuilder.loadTexts: erxOc3Mm4Ioa.setDescription('The vendor type ID for an ERX 4 port OC3/STM1 multi-mode I/O adapter (Product Code: OC3-4MM_I/O).')
erxOc3SmIr4Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 9))
if mibBuilder.loadTexts: erxOc3SmIr4Ioa.setStatus('current')
if mibBuilder.loadTexts: erxOc3SmIr4Ioa.setDescription('The vendor type ID for an ERX 4 port OC3/STM single-mode intermediate- reach I/O adapter (Product Code: OC3-4SM_I/O).')
erxOc3SmLr4Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 10))
if mibBuilder.loadTexts: erxOc3SmLr4Ioa.setStatus('current')
if mibBuilder.loadTexts: erxOc3SmLr4Ioa.setDescription('The vendor type ID for an ERX 4 port OC3/STM1 single-mode long-reach I/O adapter (Product Code: OC3-4LH-I/O).')
erxCOc3Mm4Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 11))
if mibBuilder.loadTexts: erxCOc3Mm4Ioa.setStatus('current')
if mibBuilder.loadTexts: erxCOc3Mm4Ioa.setDescription('The vendor type ID for an ERX 4 port OC3/STM channelized multi-mode I/O adapter (Product Code: COC3F0-MM-I/O).')
erxCOc3SmIr4Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 12))
if mibBuilder.loadTexts: erxCOc3SmIr4Ioa.setStatus('current')
if mibBuilder.loadTexts: erxCOc3SmIr4Ioa.setDescription('The vendor type ID for an ERX 4 port OC3/STM1 channelized single-mode intermediate-reach I/O adapter (Product Code: COC3F0-SM-I/O).')
erxCOc3SmLr4Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 13))
if mibBuilder.loadTexts: erxCOc3SmLr4Ioa.setStatus('current')
if mibBuilder.loadTexts: erxCOc3SmLr4Ioa.setDescription('The vendor type ID for an ERX 4 port OC3/STM1 channelized single-mode long-reach I/O adapter (Product Code: ERX-COC3-4LH-IOA).')
erxOc12Mm1Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 14))
if mibBuilder.loadTexts: erxOc12Mm1Ioa.setStatus('current')
if mibBuilder.loadTexts: erxOc12Mm1Ioa.setDescription('The vendor type ID for an ERX single port OC12/STM4 multi-mode I/O adapter (Product Code: OC12-MM_I/O).')
erxOc12SmIr1Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 15))
if mibBuilder.loadTexts: erxOc12SmIr1Ioa.setStatus('current')
if mibBuilder.loadTexts: erxOc12SmIr1Ioa.setDescription('The vendor type ID for an ERX single port OC12/STM4 single-mode intermediate-reach I/O adapter (Product Code: OC12-SM_I/O).')
erxOc12SmLr1Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 16))
if mibBuilder.loadTexts: erxOc12SmLr1Ioa.setStatus('current')
if mibBuilder.loadTexts: erxOc12SmLr1Ioa.setDescription('The vendor type ID for an ERX single port OC12/STM4 single-mode long-reach I/O adapter (Product Code: OC12-LH-I/O).')
erxCOc12Mm1Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 17))
if mibBuilder.loadTexts: erxCOc12Mm1Ioa.setStatus('current')
if mibBuilder.loadTexts: erxCOc12Mm1Ioa.setDescription('The vendor type ID for an ERX single port OC12/STM4 channelized (OC3/STM1 or OC1/STM0) multi-mode I/O adapter (Product Code: COC12F0-MM-I/O).')
erxCOc12SmIr1Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 18))
if mibBuilder.loadTexts: erxCOc12SmIr1Ioa.setStatus('current')
if mibBuilder.loadTexts: erxCOc12SmIr1Ioa.setDescription('The vendor type ID for an ERX single port OC12/STM4 channelized (OC3/STM1 or OC1/STM0) single-mode intermediate-reach I/O adapter (Product Code: COC12F0-SM-I/O).')
erxCOc12SmLr1Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 19))
if mibBuilder.loadTexts: erxCOc12SmLr1Ioa.setStatus('current')
if mibBuilder.loadTexts: erxCOc12SmLr1Ioa.setDescription('The vendor type ID for an ERX single port OC12/STM4 channelized (OC3/STM1 or OC1/STM0) single-mode long-reach I/O adapter (Product Code: ERX-COC12-LH-IOA).')
erxFe2Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 20))
if mibBuilder.loadTexts: erxFe2Ioa.setStatus('obsolete')
if mibBuilder.loadTexts: erxFe2Ioa.setDescription('The vendor type ID for an ERX dual port 10/100 Fast Ethernet I/O adapter (Product Code: 10/100_FE-2_I/O). This product has reached End-of-life.')
erxFe8Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 21))
if mibBuilder.loadTexts: erxFe8Ioa.setStatus('current')
if mibBuilder.loadTexts: erxFe8Ioa.setDescription('The vendor type ID for an ERX 8 port 10/100 Fast Ethernet I/O adapter (Product Code: FE-8_I/O).')
erxGeMm1Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 22))
if mibBuilder.loadTexts: erxGeMm1Ioa.setStatus('deprecated')
if mibBuilder.loadTexts: erxGeMm1Ioa.setDescription('The vendor type ID for an ERX single port Gigabit Ethernet multi-mode I/O adapter (Product Code: GE_M_I/O). This product has reached End-of-life.')
erxGeSm1Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 23))
if mibBuilder.loadTexts: erxGeSm1Ioa.setStatus('deprecated')
if mibBuilder.loadTexts: erxGeSm1Ioa.setDescription('The vendor type ID for an ERX single port Gigabit Ethernet single-mode I/O adapter (Product Code: GE_S_I/O). This product has reached End-of-life.')
erxHssiIoa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 24))
if mibBuilder.loadTexts: erxHssiIoa.setStatus('obsolete')
if mibBuilder.loadTexts: erxHssiIoa.setDescription('The vendor type ID for an ERX 3 port High Speed Serial Interface (HSSI) I/O adapter (Product Code: HSSI-3-I/O).')
erxCt3P12Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 25))
if mibBuilder.loadTexts: erxCt3P12Ioa.setStatus('current')
if mibBuilder.loadTexts: erxCt3P12Ioa.setDescription('The vendor type ID for an ERX 12 port T3 channelized and unchannelized I/O adapter (Product Code: T312-F0-F3-I/O).')
erxV35Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 26))
if mibBuilder.loadTexts: erxV35Ioa.setStatus('obsolete')
if mibBuilder.loadTexts: erxV35Ioa.setDescription('The vendor type ID for an ERX X.21/V.35 I/O adapter (Product Code: ERX-X21-V35-IOA).')
erxGeSfpIoa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 27))
if mibBuilder.loadTexts: erxGeSfpIoa.setStatus('current')
if mibBuilder.loadTexts: erxGeSfpIoa.setDescription('The vendor type ID for an ERX single port Gigabit Ethernet SFP I/O adapter (Product Code: ERX-GIGESFP-IOA).')
erxUe3P12Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 28))
if mibBuilder.loadTexts: erxUe3P12Ioa.setStatus('current')
if mibBuilder.loadTexts: erxUe3P12Ioa.setDescription('The vendor type ID for an ERX 12 port unchannelized E3 I/O adapter (Product Code: E3-12-F3-I/O).')
erxT3Atm4Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 29))
if mibBuilder.loadTexts: erxT3Atm4Ioa.setStatus('current')
if mibBuilder.loadTexts: erxT3Atm4Ioa.setDescription('The vendor type ID for an ERX 4 port T3 I/O adapter (Product Code: ERX-4T3ATM-IOA).')
erxCOc12Mm1ApsIoa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 30))
if mibBuilder.loadTexts: erxCOc12Mm1ApsIoa.setStatus('current')
if mibBuilder.loadTexts: erxCOc12Mm1ApsIoa.setDescription('The vendor type ID for an ERX single port OC12/STM4 channelized multi-mode with 1+1 Automatic Protection Switching (APS) I/O adapter (Product Code: ERX-COC12-MA-IOA).')
erxCOc12SmIr1ApsIoa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 31))
if mibBuilder.loadTexts: erxCOc12SmIr1ApsIoa.setStatus('current')
if mibBuilder.loadTexts: erxCOc12SmIr1ApsIoa.setDescription('The vendor type ID for an ERX single port OC12/STM4 channelized single-mode intermediate-reach with 1+1 Automatic Protection Switching (APS) I/O adapter (Product Code: ERX-COC12-SA-IOA).')
erxCOc12SmLr1ApsIoa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 32))
if mibBuilder.loadTexts: erxCOc12SmLr1ApsIoa.setStatus('current')
if mibBuilder.loadTexts: erxCOc12SmLr1ApsIoa.setDescription('The vendor type ID for an ERX single port OC12/STM4 channelized single-mode long-reach with 1+1 Automatic Protection Switching (APS) I/O adapter (Product Code: ERX-COC12-LA-IOA).')
erxOc12Mm1ApsIoa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 33))
if mibBuilder.loadTexts: erxOc12Mm1ApsIoa.setStatus('current')
if mibBuilder.loadTexts: erxOc12Mm1ApsIoa.setDescription('The vendor type ID for an ERX single port OC12/STM4 multi-mode with 1+1 Automatic Protection Switching (APS) I/O adapter (Product Code: ERX-OC12MM-A-IOA).')
erxOc12SmIr1ApsIoa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 34))
if mibBuilder.loadTexts: erxOc12SmIr1ApsIoa.setStatus('current')
if mibBuilder.loadTexts: erxOc12SmIr1ApsIoa.setDescription('The vendor type ID for an ERX single port OC12/STM4 single-mode intermediate-reach with 1+1 Automatic Protection Switching (APS) I/O adapter (Product Code: ERX-OC12SM-A-IOA).')
erxOc12SmLr1ApsIoa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 35))
if mibBuilder.loadTexts: erxOc12SmLr1ApsIoa.setStatus('current')
if mibBuilder.loadTexts: erxOc12SmLr1ApsIoa.setDescription('The vendor type ID for an ERX single port OC12/STM4 single-mode long-reach with 1+1 Automatic Protection Switching (APS) I/O adapter (Product Code: ERX-OC12LH-A-IOA).')
erxCOc12AtmPosMm1Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 36))
if mibBuilder.loadTexts: erxCOc12AtmPosMm1Ioa.setStatus('current')
if mibBuilder.loadTexts: erxCOc12AtmPosMm1Ioa.setDescription('The vendor type ID for an ERX single port OC12/STM4 channelized multi-mode ATM/POS I/O adapter (Product Code: ERX-1COC12MM-IOA).')
erxCOc12AtmPosSmIr1Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 37))
if mibBuilder.loadTexts: erxCOc12AtmPosSmIr1Ioa.setStatus('current')
if mibBuilder.loadTexts: erxCOc12AtmPosSmIr1Ioa.setDescription('The vendor type ID for an ERX single port OC12/STM4 channelized single-mode intermediate-reach ATM/POS I/O adapter (Product Code: ERX-1COC12SM-IOA).')
erxCOc12AtmPosSmLr1Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 38))
if mibBuilder.loadTexts: erxCOc12AtmPosSmLr1Ioa.setStatus('current')
if mibBuilder.loadTexts: erxCOc12AtmPosSmLr1Ioa.setDescription('The vendor type ID for an ERX single port OC12/STM4 channelized single-mode long-reach ATM/POS I/O adapter (Product Code: ERX-1COC12LH-IOA).')
erxCOc12AtmPosMm1ApsIoa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 39))
if mibBuilder.loadTexts: erxCOc12AtmPosMm1ApsIoa.setStatus('current')
if mibBuilder.loadTexts: erxCOc12AtmPosMm1ApsIoa.setDescription('The vendor type ID for an ERX single port OC12/STM4 channelized ATM/POS multi-mode with 1+1 Automatic Protection Switching (APS) I/O adapter (Product Code: ERX-2COC12MM-IOA).')
erxCOc12AtmPosSmIr1ApsIoa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 40))
if mibBuilder.loadTexts: erxCOc12AtmPosSmIr1ApsIoa.setStatus('current')
if mibBuilder.loadTexts: erxCOc12AtmPosSmIr1ApsIoa.setDescription('The vendor type ID for an ERX single port OC12/STM4 channelized ATM/POS single-mode intermediate-reach with 1+1 Automatic Protection Switching (APS) I/O adapter (Product Code: ERX-2COC12SM-IOA).')
erxCOc12AtmPosSmLr1ApsIoa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 41))
if mibBuilder.loadTexts: erxCOc12AtmPosSmLr1ApsIoa.setStatus('current')
if mibBuilder.loadTexts: erxCOc12AtmPosSmLr1ApsIoa.setDescription('The vendor type ID for an ERX single port OC12/STM4 channelized ATM/POS single-mode long-reach with 1+1 Automatic Protection Switching (APS) I/O adapter (Product Code: ERX-2COC12LH-IOA).')
erxT1E1RedundantIoa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 42))
if mibBuilder.loadTexts: erxT1E1RedundantIoa.setStatus('current')
if mibBuilder.loadTexts: erxT1E1RedundantIoa.setDescription('The vendor type ID for an ERX T1/E1 redundant midplane spare I/O adapter (Product Code: PNL-RDMD-T1/E1).')
erxT3E3RedundantIoa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 43))
if mibBuilder.loadTexts: erxT3E3RedundantIoa.setStatus('current')
if mibBuilder.loadTexts: erxT3E3RedundantIoa.setDescription('The vendor type ID for an ERX T3/E3 redundant midplane spare I/O adapter (Product Code: PNL-RDMD-T3/E3).')
erxCt3RedundantIoa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 44))
if mibBuilder.loadTexts: erxCt3RedundantIoa.setStatus('current')
if mibBuilder.loadTexts: erxCt3RedundantIoa.setDescription('The vendor type ID for an ERX channelized T3 redundant midplane spare I/O adapter (Product Code: ERX-12PT3E3-PNL).')
erxOcxRedundantIoa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 45))
if mibBuilder.loadTexts: erxOcxRedundantIoa.setStatus('current')
if mibBuilder.loadTexts: erxOcxRedundantIoa.setDescription('The vendor type ID for an ERX OC3/OC12 redundant midplane spare I/O adapter (Product Code: PNL-RDMD-OCX).')
erxCOcxRedundantIoa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 46))
if mibBuilder.loadTexts: erxCOcxRedundantIoa.setStatus('current')
if mibBuilder.loadTexts: erxCOcxRedundantIoa.setDescription('The vendor type ID for an ERX channelized OC3/OC12 redundant midplane spare I/O adapter (Product Code: ERX-COCXPNL-IOA).')
erxOc3Mm4ApsIoa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 47))
if mibBuilder.loadTexts: erxOc3Mm4ApsIoa.setStatus('current')
if mibBuilder.loadTexts: erxOc3Mm4ApsIoa.setDescription('The vendor type ID for an ERX 4 port OC3/STM4 multi-mode with 1+1 Automatic Protection Switching (APS) I/O adapter (Product Code: ERX-OC3M-APS-IOA).')
erxOc3SmIr4ApsIoa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 48))
if mibBuilder.loadTexts: erxOc3SmIr4ApsIoa.setStatus('current')
if mibBuilder.loadTexts: erxOc3SmIr4ApsIoa.setDescription('The vendor type ID for an ERX 4 port OC3/STM4 single-mode intermediate-reach with 1+1 Automatic Protection Switching (APS) I/O adapter (Product Code: ERX-OC3S-APS-IOA).')
erxOc3SmLr4ApsIoa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 49))
if mibBuilder.loadTexts: erxOc3SmLr4ApsIoa.setStatus('current')
if mibBuilder.loadTexts: erxOc3SmLr4ApsIoa.setDescription('The vendor type ID for an ERX 4 port OC3/STM4 single-mode long-reach with 1+1 Automatic Protection Switching (APS) I/O adapter (Product Code: ERX-OC3L-APS-IOA).')
erxOc48Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 50))
if mibBuilder.loadTexts: erxOc48Ioa.setStatus('current')
if mibBuilder.loadTexts: erxOc48Ioa.setDescription('The vendor type ID for an ERX single port OC48/STM16 I/O adapter (Product Code: ERX-OC48ST16-IOA).')
erxOc3Atm2Ge1Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 51))
if mibBuilder.loadTexts: erxOc3Atm2Ge1Ioa.setStatus('current')
if mibBuilder.loadTexts: erxOc3Atm2Ge1Ioa.setDescription('The vendor type ID for an ERX dual port OC3 ATM plus single port Gigabit Ethernet I/O adapter (Product Code: [450-00057-00]).')
erxOc3Atm2Pos2Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 52))
if mibBuilder.loadTexts: erxOc3Atm2Pos2Ioa.setStatus('current')
if mibBuilder.loadTexts: erxOc3Atm2Pos2Ioa.setDescription('The vendor type ID for an ERX dual port OC3 ATM plus dual port OC3 POS I/O adapter (Product Code: [450-00054-00]).')
erxGe2Ioa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 53))
if mibBuilder.loadTexts: erxGe2Ioa.setStatus('current')
if mibBuilder.loadTexts: erxGe2Ioa.setDescription('The vendor type ID for an ERX dual port Gigabit Ethernet SFP I/O adapter (Product Code: [450-00073-00]).')
erxFe8FxIoa = ObjectIdentity((1, 3, 6, 1, 4, 1, 4874, 4, 2, 2, 1, 8, 54))
if mibBuilder.loadTexts: erxFe8FxIoa.setStatus('current')
if mibBuilder.loadTexts: erxFe8FxIoa.setDescription('The vendor type ID for an ERX 8 port 100 Fast Ethernet SFP optical I/O adapter (Product Code: 450-00081-00).')
mibBuilder.exportSymbols("Juniper-ERX-Registry", erx5Plus1Redundant12T3E3Midplane=erx5Plus1Redundant12T3E3Midplane, erxCt3=erxCt3, erxE3Atm=erxE3Atm, erxSrp310Ioa=erxSrp310Ioa, erxFe2=erxFe2, erx2Plus1Redundant12T3E3Midplane=erx2Plus1Redundant12T3E3Midplane, erx1440Chassis=erx1440Chassis, erxLineIoAdapter=erxLineIoAdapter, erxOc3Mm4ApsIoa=erxOc3Mm4ApsIoa, erxCt1Ioa=erxCt1Ioa, erxSrp10g1gEcc=erxSrp10g1gEcc, erxOc12SmLr1ApsIoa=erxOc12SmLr1ApsIoa, erxCt3RedundantIoa=erxCt3RedundantIoa, erx4Plus1RedundantT3E3Midplane=erx4Plus1RedundantT3E3Midplane, erxOc48Ioa=erxOc48Ioa, erx1Plus1RedundantT3E3Midplane=erx1Plus1RedundantT3E3Midplane, erx700Chassis=erx700Chassis, erxCe1TIoa=erxCe1TIoa, erxOc12SmLr1Ioa=erxOc12SmLr1Ioa, erx5Plus1RedundantCOcMidplane=erx5Plus1RedundantCOcMidplane, erxSrpIoAdapter=erxSrpIoAdapter, erxPowerInput=erxPowerInput, erxCOc12SmLr1Ioa=erxCOc12SmLr1Ioa, erxT3Frame=erxT3Frame, erxSrp5g1gEcc=erxSrp5g1gEcc, erxE3Ioa=erxE3Ioa, erxOc3Sm2Ioa=erxOc3Sm2Ioa, erx2Plus1RedundantCOcMidplane=erx2Plus1RedundantCOcMidplane, erxCOc12AtmPosMm1ApsIoa=erxCOc12AtmPosMm1ApsIoa, erx700FanAssembly=erx700FanAssembly, erxCOc12SmLr1ApsIoa=erxCOc12SmLr1ApsIoa, erx1Plus1RedundantOcMidplane=erx1Plus1RedundantOcMidplane, erxSrp5g2gEcc=erxSrp5g2gEcc, erxGeSm1Ioa=erxGeSm1Ioa, erxCOcx=erxCOcx, erx1400FanAssembly=erx1400FanAssembly, erx310DCChassis=erx310DCChassis, erxPdu=erxPdu, erx1Plus1RedundantT1E1Midplane=erx1Plus1RedundantT1E1Midplane, erx5Plus1RedundantT1E1Midplane=erx5Plus1RedundantT1E1Midplane, erx2Plus1RedundantOcMidplane=erx2Plus1RedundantOcMidplane, erxLineModule=erxLineModule, erxCOcxRedundantIoa=erxCOcxRedundantIoa, erx3Plus1RedundantOcMidplane=erx3Plus1RedundantOcMidplane, erxOc3Atm2Ge1Ioa=erxOc3Atm2Ge1Ioa, erx700Midplane=erx700Midplane, erxOc3Oc12Atm256M=erxOc3Oc12Atm256M, erxSrp10=erxSrp10, erxOc3SmIr4ApsIoa=erxOc3SmIr4ApsIoa, erxT1E1RedundantIoa=erxT1E1RedundantIoa, erxV35Ioa=erxV35Ioa, erx3Plus1RedundantT1E1Midplane=erx3Plus1RedundantT1E1Midplane, erxCt3P12=erxCt3P12, erxUt3E3Ocx=erxUt3E3Ocx, erx310ACChassis=erx310ACChassis, erxSrp5=erxSrp5, erxService=erxService, erxCt1=erxCt1, erx5Plus1RedundantT3E3Midplane=erx5Plus1RedundantT3E3Midplane, erxGeSfpIoa=erxGeSfpIoa, erxCOc12Mm1ApsIoa=erxCOc12Mm1ApsIoa, erxOc3Hybrid=erxOc3Hybrid, erxOc3=erxOc3, erxSrp40g2gEc2=erxSrp40g2gEc2, erxOcxRedundantIoa=erxOcxRedundantIoa, erx5Plus1RedundantOcMidplane=erx5Plus1RedundantOcMidplane, erxSrpIoa=erxSrpIoa, erxSrp5Plus=erxSrp5Plus, erxSrpModule=erxSrpModule, erxOc3Mm4Ioa=erxOc3Mm4Ioa, erxGe2=erxGe2, erxOc3SmLr4ApsIoa=erxOc3SmLr4ApsIoa, erxFanAssembly=erxFanAssembly, erxCt3Ioa=erxCt3Ioa, erxSrp310=erxSrp310, erx3Plus1RedundantT3E3Midplane=erx3Plus1RedundantT3E3Midplane, erx300DCPdu=erx300DCPdu, erxOc48=erxOc48, erxT3Atm=erxT3Atm, erxMidplane=erxMidplane, erx2Plus1RedundantT3E3Midplane=erx2Plus1RedundantT3E3Midplane, erxOc12Mm1ApsIoa=erxOc12Mm1ApsIoa, erxFe8Ioa=erxFe8Ioa, erxCOc3Mm4Ioa=erxCOc3Mm4Ioa, erxOc3Oc12Atm=erxOc3Oc12Atm, erxCOc3SmIr4Ioa=erxCOc3SmIr4Ioa, erx1400Chassis=erx1400Chassis, erxOc3Atm2Pos2Ioa=erxOc3Atm2Pos2Ioa, erx4Plus1RedundantT1E1Midplane=erx4Plus1RedundantT1E1Midplane, erxCe1Ioa=erxCe1Ioa, erxCOc3SmLr4Ioa=erxCOc3SmLr4Ioa, erxFe2Ioa=erxFe2Ioa, erx4Plus1RedundantOcMidplane=erx4Plus1RedundantOcMidplane, erx1440Midplane=erx1440Midplane, erxOc3SmIr4Ioa=erxOc3SmIr4Ioa, erxVts=erxVts, erx1400Midplane=erx1400Midplane, erxCOc12AtmPosSmIr1Ioa=erxCOc12AtmPosSmIr1Ioa, erxGeFe256M=erxGeFe256M, PYSNMP_MODULE_ID=juniErxRegistry, erxCOc12AtmPosSmIr1ApsIoa=erxCOc12AtmPosSmIr1ApsIoa, erxOc12SmIr1Ioa=erxOc12SmIr1Ioa, erxUe3P12Ioa=erxUe3P12Ioa, erxCe1=erxCe1, erxHssiIoa=erxHssiIoa, erxCOc12SmIr1ApsIoa=erxCOc12SmIr1ApsIoa, erxCOc12AtmPosSmLr1ApsIoa=erxCOc12AtmPosSmLr1ApsIoa, erxCOc12SmIr1Ioa=erxCOc12SmIr1Ioa, erx300FanAssembly=erx300FanAssembly, erxChassis=erxChassis, erxCOc12AtmPosMm1Ioa=erxCOc12AtmPosMm1Ioa, erxT3E3RedundantIoa=erxT3E3RedundantIoa, erx300ACPdu=erx300ACPdu, erxFe8FxIoa=erxFe8FxIoa, erx2Plus1RedundantT1E1Midplane=erx2Plus1RedundantT1E1Midplane, erxGeMm1Ioa=erxGeMm1Ioa, erxV35=erxV35, erxE3Frame=erxE3Frame, erxOc3Oc12Pos=erxOc3Oc12Pos, erxOc12Mm1Ioa=erxOc12Mm1Ioa, erxCOc12AtmPosSmLr1Ioa=erxCOc12AtmPosSmLr1Ioa, erxCOc12Mm1Ioa=erxCOc12Mm1Ioa, erxOc12SmIr1ApsIoa=erxOc12SmIr1ApsIoa, erxGe2Ioa=erxGe2Ioa, erxOc3SmLr4Ioa=erxOc3SmLr4Ioa, erxSrp10Ecc=erxSrp10Ecc, erxSrp40Plus=erxSrp40Plus, erx300Midplane=erx300Midplane, erx1440Pdu=erx1440Pdu, erxSrp10g2gEcc=erxSrp10g2gEcc, erxHssi=erxHssi, erxGeFe=erxGeFe, erxOc3Mm2Ioa=erxOc3Mm2Ioa, erxTunnelService=erxTunnelService, erxT3Atm4Ioa=erxT3Atm4Ioa, erxSrp40=erxSrp40, juniErxRegistry=juniErxRegistry, juniErxEntPhysicalType=juniErxEntPhysicalType, erxCt3P12Ioa=erxCt3P12Ioa)
|
# Part 1
def parsephrase(phrase):
sp = phrase.lower().split()
checked = []
for p in sp:
if p in checked:
return(False)
else:
checked += [p]
return(True)
def phrases(lines):
x = 0
for l in lines.split("\n"):
pp = parsephrase(l.lower())
if pp:
x += 1
return(x)
# Part 2
def parse2(phrase):
sp = phrase.lower().split()
checked = []
for p in sp:
sortp = list(p)
sortp.sort()
sortp = "".join(sortp)
if sortp in checked:
return(False)
else:
checked += [sortp]
return(True)
def phrases2(lines):
x = 0
for l in lines.split("\n"):
pp = parse2(l.lower())
if pp:
x += 1
return(x)
|
__title__ = 'trylogging'
#__package_name__ = 'not-a-package'
__version__ = '0.0.1'
__description__ = "Just an example of using the Python logging module to remind me about using it."
__email__ = "notNeededForThisExample@null.net"
__author__ = 'Matt McCright'
__github__ = 'https://github.com/mccright/PPythonLoggingExamples'
#__pypi__ = 'https://pypi.org/project/ --> not-a-package'
__license__ = 'MIT'
__copyright__ = 'Copyright 2020 - Matt McCright'
|
n = int(input('Digite um número inteiro: '))
op = int(input("""Conversação. Digite:
1 - para Binário
2 - para Octal
3 - para Hexadecimal
"""))
#IMPORTANTE USAR O FATIAMENTO DE OBJETO
if op == 1:
print('{} em Binário é {}'.format(n, bin(n)[2:])) #[2:] PEGA DA 3º POSIÇÃO ATÉ O FINAL DO OBJETO
elif op == 2:
print('{} em Octal é {}'.format(n, oct(n)[2:]))
elif op == 3:
print('{} em Hexadecimal é {}'.format(n, hex(n)[2:]))
else:
print('Opção inválida!')
|
#!/usr/bin/python
#protexam_output.py
'''
Output functions for ProtExAM.
'''
|
# function to find double factorial of given number.
'''
Double factorial of a non-negative integer n,
is the product of all the integers from 1 to n that have the same parity (odd or even) as n.
It is also called as semifactorial of a number and is denoted by !!.
For example,
9!! = 9*7*5*3*1 = 945.
Note that--> 0!! = 1.
'''
def double_factorial(input_num):
"""
Calculate the double factorial of specified number
>>>double_factorial(5)
15
>>>double_factorial(8)
384
>>>double_factorial(3)
3
>>>double_factorial(0)
1
>>>-1
Traceback (most recent call last):
File "<string>", line 11, in <module>
File "<string>", line 4, in doublefactorial
ValueError: double_factorial() not defined for negative values
"""
if (input_num<0):
raise ValueError("double_factorial() not defined for negative values")
if (input_num == 0 or input_num == 1):
return 1;
return input_num * double_factorial(input_num - 2)
# Driver Code
input_num = int(input("Enter the number to calculate its double factorial = "))
print("Double factorial of",input_num,"=", double_factorial(input_num))
|
n, k = map(int, input().split())
s = str(input())
sl = []
c = 1
if (s[0] == "1"):
sl.append(0)
for i in range(n):
if (i != 0):
if (s[i] == s[i-1]):
c += 1
else:
sl.append(c)
c = 1
sl.append(c)
ruisekiwa = [0]
sums = []
ans = 0
w = 2*k+1
if (w > len(sl)):
print(n)
exit()
for i in range(len(sl)):
ruisekiwa.append(ruisekiwa[i] + sl[i])
# print(sl)
# print(ruisekiwa)
for i in range(len(sl)):
if(k % 2 == 1 and i % 2 == 0 or k % 2 == 0 and i % 2 == 1):
left = i-k
if (left < 0):
left = 0
right = i + k+1
if (right >= len(ruisekiwa)):
right = len(ruisekiwa)-1
# print(ruisekiwa[right], "-", ruisekiwa[left],
# "=", ruisekiwa[right]-ruisekiwa[left])
ans = max(ans, ruisekiwa[right]-ruisekiwa[left])
print(ans)
|
#
# libjingle
# Copyright 2012 Google Inc.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice,
# this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright notice,
# this list of conditions and the following disclaimer in the documentation
# and/or other materials provided with the distribution.
# 3. The name of the author may not be used to endorse or promote products
# derived from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
{
'includes': [
'build/common.gypi',
],
'targets': [
{
'target_name': 'relayserver',
'type': 'executable',
'dependencies': [
'libjingle.gyp:libjingle',
'libjingle.gyp:libjingle_p2p',
],
'sources': [
'examples/relayserver/relayserver_main.cc',
],
}, # target relayserver
{
'target_name': 'stunserver',
'type': 'executable',
'dependencies': [
'libjingle.gyp:libjingle',
'libjingle.gyp:libjingle_p2p',
],
'sources': [
'examples/stunserver/stunserver_main.cc',
],
}, # target stunserver
{
'target_name': 'turnserver',
'type': 'executable',
'dependencies': [
'libjingle.gyp:libjingle',
'libjingle.gyp:libjingle_p2p',
],
'sources': [
'examples/turnserver/turnserver_main.cc',
],
}, # target turnserver
{
'target_name': 'peerconnection_server',
'type': 'executable',
'sources': [
'examples/peerconnection/server/data_socket.cc',
'examples/peerconnection/server/data_socket.h',
'examples/peerconnection/server/main.cc',
'examples/peerconnection/server/peer_channel.cc',
'examples/peerconnection/server/peer_channel.h',
'examples/peerconnection/server/utils.cc',
'examples/peerconnection/server/utils.h',
],
'dependencies': [
'<(webrtc_root)/common.gyp:webrtc_common',
'libjingle.gyp:libjingle',
],
# TODO(ronghuawu): crbug.com/167187 fix size_t to int truncations.
'msvs_disabled_warnings': [ 4309, ],
}, # target peerconnection_server
],
'conditions': [
['OS=="linux" or OS=="win"', {
'targets': [
{
'target_name': 'peerconnection_client',
'type': 'executable',
'sources': [
'examples/peerconnection/client/conductor.cc',
'examples/peerconnection/client/conductor.h',
'examples/peerconnection/client/defaults.cc',
'examples/peerconnection/client/defaults.h',
'examples/peerconnection/client/peer_connection_client.cc',
'examples/peerconnection/client/peer_connection_client.h',
],
'dependencies': [
'libjingle.gyp:libjingle_peerconnection',
'<@(libjingle_tests_additional_deps)',
],
'conditions': [
['build_json==1', {
'dependencies': [
'<(DEPTH)/third_party/jsoncpp/jsoncpp.gyp:jsoncpp',
],
}],
# TODO(ronghuawu): Move these files to a win/ directory then they
# can be excluded automatically.
['OS=="win"', {
'sources': [
'examples/peerconnection/client/flagdefs.h',
'examples/peerconnection/client/main.cc',
'examples/peerconnection/client/main_wnd.cc',
'examples/peerconnection/client/main_wnd.h',
],
'msvs_settings': {
'VCLinkerTool': {
'SubSystem': '2', # Windows
},
},
}], # OS=="win"
['OS=="linux"', {
'sources': [
'examples/peerconnection/client/linux/main.cc',
'examples/peerconnection/client/linux/main_wnd.cc',
'examples/peerconnection/client/linux/main_wnd.h',
],
'cflags': [
'<!@(pkg-config --cflags glib-2.0 gobject-2.0 gtk+-2.0)',
],
'link_settings': {
'ldflags': [
'<!@(pkg-config --libs-only-L --libs-only-other glib-2.0'
' gobject-2.0 gthread-2.0 gtk+-2.0)',
],
'libraries': [
'<!@(pkg-config --libs-only-l glib-2.0 gobject-2.0'
' gthread-2.0 gtk+-2.0)',
'-lX11',
'-lXcomposite',
'-lXext',
'-lXrender',
],
},
}], # OS=="linux"
], # conditions
}, # target peerconnection_client
], # targets
}], # OS=="linux" or OS=="win"
['OS=="ios" or (OS=="mac" and target_arch!="ia32" and mac_sdk>="10.8")', {
'targets': [
{ 'target_name': 'apprtc_signaling',
'type': 'static_library',
'dependencies': [
'libjingle.gyp:libjingle_peerconnection_objc',
'socketrocket',
],
'sources': [
'examples/objc/AppRTCDemo/ARDAppClient.h',
'examples/objc/AppRTCDemo/ARDAppClient.m',
'examples/objc/AppRTCDemo/ARDAppClient+Internal.h',
'examples/objc/AppRTCDemo/ARDAppEngineClient.h',
'examples/objc/AppRTCDemo/ARDAppEngineClient.m',
'examples/objc/AppRTCDemo/ARDCEODTURNClient.h',
'examples/objc/AppRTCDemo/ARDCEODTURNClient.m',
'examples/objc/AppRTCDemo/ARDJoinResponse.h',
'examples/objc/AppRTCDemo/ARDJoinResponse.m',
'examples/objc/AppRTCDemo/ARDJoinResponse+Internal.h',
'examples/objc/AppRTCDemo/ARDMessageResponse.h',
'examples/objc/AppRTCDemo/ARDMessageResponse.m',
'examples/objc/AppRTCDemo/ARDMessageResponse+Internal.h',
'examples/objc/AppRTCDemo/ARDRoomServerClient.h',
'examples/objc/AppRTCDemo/ARDSDPUtils.h',
'examples/objc/AppRTCDemo/ARDSDPUtils.m',
'examples/objc/AppRTCDemo/ARDSignalingChannel.h',
'examples/objc/AppRTCDemo/ARDSignalingMessage.h',
'examples/objc/AppRTCDemo/ARDSignalingMessage.m',
'examples/objc/AppRTCDemo/ARDTURNClient.h',
'examples/objc/AppRTCDemo/ARDUtilities.h',
'examples/objc/AppRTCDemo/ARDUtilities.m',
'examples/objc/AppRTCDemo/ARDWebSocketChannel.h',
'examples/objc/AppRTCDemo/ARDWebSocketChannel.m',
'examples/objc/AppRTCDemo/RTCICECandidate+JSON.h',
'examples/objc/AppRTCDemo/RTCICECandidate+JSON.m',
'examples/objc/AppRTCDemo/RTCICEServer+JSON.h',
'examples/objc/AppRTCDemo/RTCICEServer+JSON.m',
'examples/objc/AppRTCDemo/RTCMediaConstraints+JSON.h',
'examples/objc/AppRTCDemo/RTCMediaConstraints+JSON.m',
'examples/objc/AppRTCDemo/RTCSessionDescription+JSON.h',
'examples/objc/AppRTCDemo/RTCSessionDescription+JSON.m',
],
'include_dirs': [
'examples/objc/AppRTCDemo',
],
'direct_dependent_settings': {
'include_dirs': [
'examples/objc/AppRTCDemo',
],
},
'export_dependent_settings': [
'libjingle.gyp:libjingle_peerconnection_objc',
],
'conditions': [
['OS=="mac"', {
'xcode_settings': {
'MACOSX_DEPLOYMENT_TARGET' : '10.8',
},
}],
],
},
{
'target_name': 'AppRTCDemo',
'type': 'executable',
'product_name': 'AppRTCDemo',
'mac_bundle': 1,
'dependencies': [
'apprtc_signaling',
],
'conditions': [
['OS=="ios"', {
'mac_bundle_resources': [
'examples/objc/AppRTCDemo/ios/resources/iPhone5@2x.png',
'examples/objc/AppRTCDemo/ios/resources/iPhone6@2x.png',
'examples/objc/AppRTCDemo/ios/resources/iPhone6p@3x.png',
'examples/objc/AppRTCDemo/ios/resources/Roboto-Regular.ttf',
'examples/objc/AppRTCDemo/ios/resources/ic_call_end_black_24dp.png',
'examples/objc/AppRTCDemo/ios/resources/ic_call_end_black_24dp@2x.png',
'examples/objc/AppRTCDemo/ios/resources/ic_clear_black_24dp.png',
'examples/objc/AppRTCDemo/ios/resources/ic_clear_black_24dp@2x.png',
'examples/objc/AppRTCDemo/ios/resources/ic_switch_video_black_24dp.png',
'examples/objc/AppRTCDemo/ios/resources/ic_switch_video_black_24dp@2x.png',
'examples/objc/Icon.png',
],
'sources': [
'examples/objc/AppRTCDemo/ios/ARDAppDelegate.h',
'examples/objc/AppRTCDemo/ios/ARDAppDelegate.m',
'examples/objc/AppRTCDemo/ios/ARDMainView.h',
'examples/objc/AppRTCDemo/ios/ARDMainView.m',
'examples/objc/AppRTCDemo/ios/ARDMainViewController.h',
'examples/objc/AppRTCDemo/ios/ARDMainViewController.m',
'examples/objc/AppRTCDemo/ios/ARDVideoCallView.h',
'examples/objc/AppRTCDemo/ios/ARDVideoCallView.m',
'examples/objc/AppRTCDemo/ios/ARDVideoCallViewController.h',
'examples/objc/AppRTCDemo/ios/ARDVideoCallViewController.m',
'examples/objc/AppRTCDemo/ios/AppRTCDemo-Prefix.pch',
'examples/objc/AppRTCDemo/ios/UIImage+ARDUtilities.h',
'examples/objc/AppRTCDemo/ios/UIImage+ARDUtilities.m',
'examples/objc/AppRTCDemo/ios/main.m',
],
'xcode_settings': {
'INFOPLIST_FILE': 'examples/objc/AppRTCDemo/ios/Info.plist',
},
}],
['OS=="mac"', {
'sources': [
'examples/objc/AppRTCDemo/mac/APPRTCAppDelegate.h',
'examples/objc/AppRTCDemo/mac/APPRTCAppDelegate.m',
'examples/objc/AppRTCDemo/mac/APPRTCViewController.h',
'examples/objc/AppRTCDemo/mac/APPRTCViewController.m',
'examples/objc/AppRTCDemo/mac/main.m',
],
'xcode_settings': {
'CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS': 'NO',
'INFOPLIST_FILE': 'examples/objc/AppRTCDemo/mac/Info.plist',
'MACOSX_DEPLOYMENT_TARGET' : '10.8',
'OTHER_LDFLAGS': [
'-framework AVFoundation',
],
},
}],
['target_arch=="ia32"', {
'dependencies' : [
'<(DEPTH)/testing/iossim/iossim.gyp:iossim#host',
],
}],
],
}, # target AppRTCDemo
{
# TODO(tkchin): move this into the real third party location and
# have it mirrored on chrome infra.
'target_name': 'socketrocket',
'type': 'static_library',
'sources': [
'examples/objc/AppRTCDemo/third_party/SocketRocket/SRWebSocket.h',
'examples/objc/AppRTCDemo/third_party/SocketRocket/SRWebSocket.m',
],
'conditions': [
['OS=="mac"', {
'xcode_settings': {
# SocketRocket autosynthesizes some properties. Disable the
# warning so we can compile successfully.
'CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS': 'NO',
'MACOSX_DEPLOYMENT_TARGET' : '10.8',
# SRWebSocket.m uses code with partial availability.
# https://code.google.com/p/webrtc/issues/detail?id=4695
'WARNING_CFLAGS!': ['-Wpartial-availability'],
},
}],
],
'direct_dependent_settings': {
'include_dirs': [
'examples/objc/AppRTCDemo/third_party/SocketRocket',
],
},
'xcode_settings': {
'CLANG_ENABLE_OBJC_ARC': 'YES',
'WARNING_CFLAGS': [
'-Wno-deprecated-declarations',
],
},
'link_settings': {
'xcode_settings': {
'OTHER_LDFLAGS': [
'-framework CFNetwork',
],
},
'libraries': [
'$(SDKROOT)/usr/lib/libicucore.dylib',
],
}
}, # target socketrocket
], # targets
}], # OS=="ios" or (OS=="mac" and target_arch!="ia32" and mac_sdk>="10.8")
['OS=="android"', {
'targets': [
{
'target_name': 'AppRTCDemo',
'type': 'none',
'dependencies': [
'libjingle.gyp:libjingle_peerconnection_java',
],
'variables': {
'apk_name': 'AppRTCDemo',
'java_in_dir': 'examples/android',
'has_java_resources': 1,
'resource_dir': 'examples/android/res',
'R_package': 'org.appspot.apprtc',
'R_package_relpath': 'org/appspot/apprtc',
'input_jars_paths': [
'examples/android/third_party/autobanh/autobanh.jar',
],
'library_dexed_jars_paths': [
'examples/android/third_party/autobanh/autobanh.jar',
],
'native_lib_target': 'libjingle_peerconnection_so',
'add_to_dependents_classpaths':1,
},
'includes': [ '../build/java_apk.gypi' ],
}, # target AppRTCDemo
{
# AppRTCDemo creates a .jar as a side effect. Any java targets
# that need that .jar in their classpath should depend on this target,
# AppRTCDemo_apk. Dependents of AppRTCDemo_apk receive its
# jar path in the variable 'apk_output_jar_path'.
# This target should only be used by targets which instrument
# AppRTCDemo_apk.
'target_name': 'AppRTCDemo_apk',
'type': 'none',
'dependencies': [
'AppRTCDemo',
],
'includes': [ '../build/apk_fake_jar.gypi' ],
}, # target AppRTCDemo_apk
{
'target_name': 'AppRTCDemoTest',
'type': 'none',
'dependencies': [
'AppRTCDemo_apk',
],
'variables': {
'apk_name': 'AppRTCDemoTest',
'java_in_dir': 'examples/androidtests',
'is_test_apk': 1,
},
'includes': [ '../build/java_apk.gypi' ],
},
], # targets
}], # OS=="android"
],
}
|
#lab1 ex2
print('Please insert Your name, surname and year of birth:')
a = input()
b = a.split()
name = b[0]
surname = b[1]
year_of_birth = b[2]
print(surname, year_of_birth, name) |
class HTML_Icon():
HTML_Icon_Color_Default_Display='inline'
HTML_Icon_Color_Default_Show='blue'
HTML_Icon_Color_Default_Hide='grey'
HTML_Icon_Size_Default=0
HTML_Icon_Sizes=[
'',
'fa-lg',
'fa-2x',
'fa-xs','fa-sm',
'fa-3x','fa-5x','fa-7x','fa-10x',
]
##!
##!
##!
def HTML_Icon(self,icon,color=None,size=None,options=None,style=None):
if (options==None): options={}
if (style==None): style={}
if (options.has_key("style")):
style.update(options[ "style" ])
return self.XML_Tags(
"I","",
self.HTML_Icon_Options(icon,color,size,options,style)
)
##!
##!
##!
def HTML_Icon_Options(self,icon,color,size,options,style):
if (not options.has_key("class")):
options[ "class" ]=[]
options[ "class" ]=options[ "class" ]+self.HTML_Icon_Classes(icon,color,size,options,style)
options[ "style" ]=self.HTML_Icon_Style(icon,color,size,options,style)
return options
##!
##!
##!
def HTML_Icon_Classes(self,icon,color,size,options,style):
return [
icon,
self.HTML_Icon_Size(icon,color,size,options,style),
"nowrap"
]
##!
##!
##!
def HTML_Icon_Size(self,icon,color,size,options,style):
if (size==None):
size=self.HTML_Icon_Size_Default
if (isinstance(size, int)):
size=self.HTML_Icon_Sizes[ size ]
return size
##!
##!
##!
def HTML_Icon_Style(self,icon,color,size,options,style):
style[ "color" ]=self.HTML_Icon_Color(icon,color,size,options,style)
style[ "background-color" ]="white"
return style
##!
##!
##!
def HTML_Icon_Color(self,icon,color,size,options,style):
if (color==None):
color=self.HTML_Icon_Color_Default_Show
if (style.has_key("color")):
color=style[ "color" ]
return color
|
a = int(input('Digite o 1º número: '))
b = int(input('Digite o 2º número: '))
c = int(input('Digite o 3º número: '))
if a>b and a>c:
m = a
elif b>c:
m = b
elif c>b:
m = c
else:
m =a
print(m)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.