from collections import Counter
a = ({'Петя': 6, 'Вася': 8, 'Дима': 11, 'Юля': 3}, {'Петя': 5, 'Вася': 36, 'Дима': 4, 'Юля': 8}, {'Петя': 54, 'Вася': 21, 'Дима': 22, 'Юля': 39}, {'Петя': 61, 'Вася': 48, 'Дима': 71, 'Юля': 73})
c = Counter()
for d in a:
c.update(d)
int main()
{
int a;
int b;
int x = 1;
int y = 2;
int z = 3;
__asm {
mov eax, y
mul z
add eax, x
mov a, eax
mov eax, y
mov ebx, z
add eax, x
add ebx, x
mul ebx
mov b, eax
mov eax, a
mov ebx, b
cmp eax, ebx
je equal
jb more
jmp less
};
equal:
printf("a = b");
return 0;
less:
printf("a > b");
return 0;
more:
printf("a < b");
return 0;
}
@bot.message_handler(func=lambda m: True)
def echo_all(message):
bot.reply_to(message, message.text)
@bot.message_handler(context_types=["text"])
def send(message):
bot.send_message(431331940, "text message")
def validator_team(self, field, member='something', name='surname'):
if field:
for i in getattr(field, member).all():
p = getattr(i, name)
do_something(p)
...
return field
2 x DIMM, Max. 16GB, DDR3 1333/1066 Hz Non-ECC, Un-buffered Memory
Dual Channel Memory Architecture
* The maximum 16GB memory capacity can be supported with 8GB or above DIMMs. ASUS will update the memory QVL once the DIMMs are available in the market.
* Refer to www.asus.com or user manual for the Memory QVL (Qualified Vendors Lists).
* Due to OS limitation, when installing total memory of 4GB capacity or more, Windows® 32-bit operation system may only recognize less than 3GB. Install a 64-bit Windows® OS when you want to install 4GB or more memory on the motherboard.
from multiprocessing.pool import ThreadPool
def editapache(self,oldmail,mail,name,oldname,charset,oldcharset,vhid):
with open(filename,'r+') as config:
map(config.replace, [oldmail, oldname, oldcharset], [mail, name, charset])
config.write(config)