from collections import Counter
help(Counter)
max((2, 3), (1, 17))
max([1, 2, 3, 4, 5], key=lambda x: -x)
from api import *
import api
def f():
 global a
 a = 3
f()
a
def g():
 global b
 print(b)
g()
all([True, False])
class A:
 def f(self):
  pass
A.f.__name__
A.f.__class__
A.f.__qualname__
def f(): pass
f.__module__
a = False
a |= True
a
b = False
b |= False
bb
b
[(x, y) for x in range(3) for y in range(x)]
import itertools
help(itertools)
help(list.remove)
help(set.remove)
help(list.mro)
help(set.difference)
a = {1, 2, 3}
a.difference_update({3, 4})
a
{1}
type(_)
from random import choice
help(choice)
import numpy as np
help(np.random.choice)
import numpy.random.choice
import numpy.random
from numpy.random import choice
choice([(0, 1), (0, 2)])
help(choice)
