По всем вопросам- @haarrp
@ai_machinelearning_big_data - машинное обучение
@programming_books_it - бесплатные it книги
@pythonl - 🐍
@ArtificialIntelligencedl - AI
@datascienceiot -ds книги
Post #112
677
MA @machinelearningtest
Showing posts older than #113 · Back to latest
(lambda x: x**2 if '' or None or 1 and [False] else lambda x: x*2)(3)
2 > '1'1 > 1 or {} or 'hello' or type('hello') is str and False
class A:
def __init__(self):
self.__x = 1
a = A()print(list(map(lambda f: f(2), (lambda x: x**i for i in range(3)))))print(list(map(lambda f: f(2), [lambda x: x**i for i in range(3)])))