# using Python standard library
# https://docs.python.org/3/library/
# Extensive - Batteries Included - just import!
# Available across most OSes

# 4 ways of importing modules
import string
import math
import math as mth # Python likes these short names but not for standard library!
from math import floor # i could import floor alone but beware name collission
from math import factorial as fact
from collections import Counter


print(string.ascii_lowercase)
print(math.factorial(5))
print(mth.factorial(4))
print(floor(3.98))
print(fact(6))
my_count = Counter("abracadabra")
print(my_count)  # this will be dictionary
# print(my_count.most_common())
# print(my_count.most_common(3))
# # print(my_count.values())
# # print(type(my_count.most_common()))
# print(my_count['a'])
# ran_nums = [random.randint(1, 6)+random.randint(1, 6)
#             for _ in range(1_000_000)]
# print(sum(ran_nums)/len(ran_nums))
# ncount = Counter(ran_nums)
# print(ncount.most_common())

# using Python standard library
# https://docs.python.org/3/library/
# Extensive - Batteries Included - just import!
# Available across most OSes

# 4 ways of importing modules
import string
import math
import math as mth # Python likes these short names but not for standard library!
from math import floor # i could import floor alone but beware name collission
from math import factorial as fact
from collections import Counter


print(string.ascii_lowercase)
print(math.factorial(5))
print(mth.factorial(4))
print(floor(3.98))
print(fact(6))
my_count = Counter("abracadabra")
print(my_count)  # this will be dictionary
# print(my_count.most_common())
# print(my_count.most_common(3))
# # print(my_count.values())
# # print(type(my_count.most_common()))
# print(my_count['a'])
# ran_nums = [random.randint(1, 6)+random.randint(1, 6)
#             for _ in range(1_000_000)]
# print(sum(ran_nums)/len(ran_nums))
# ncount = Counter(ran_nums)
# print(ncount.most_common())

# using Python standard library # https://docs.python.org/3/library/ # Extensive - Batteries Included - just import! # Available across most OSes # 4 ways of importing modules # Python likes these short names but not for standard library! # i could import floor alone but beware name collission # this will be dictionary # print(my_count.most_common()) # print(my_count.most_common(3)) # # print(my_count.values()) # # print(type(my_count.most_common())) # print(my_count['a']) # ran_nums = [random.randint(1, 6)+random.randint(1, 6) #             for _ in range(1_000_000)] # print(sum(ran_nums)/len(ran_nums)) # ncount = Counter(ran_nums) # print(ncount.most_common())