TGViewer
Channel Public Channel
Python Tasks & ML | Задачи по питону и машинному обучению

Python Tasks & ML | Задачи по питону и машинному обучению

@python_tasks

Algorithms, functions, classes, regular expressions, iterators, generators, OOP, exceptions, NumPy, pandas, scikit-learn
https://telega.in/c/python_tasks

Questions — @dina_ladnyuk
Subscribers
8.49K
Photos
30
Videos
1
Links
41

Showing posts older than #1752 · Back to latest

Older Posts 20 shown
Post #1751 2.06K
Дан код:
class A:
pass
class B:
pass
class C(A, B):
pass
class D(C):
pass
Post #1749 2.16K
Дан код(Python3):
class A:
# ваш код
def f():
print('hi')
a = A()
A.f()
  • 👍 4
Post #1748 2.42K
  • 👍 4
  • 🔥 3
Post #1747 2.32K
Дан код (Python3):
Дан код (Python3):
class A:
# ваш код
def f():
print('hi')
a = A()
a.f()
  • 👍 1
Post #1746 3.07K
  • 🔥 5
  • 😱 2
  • 👍 1
Post #1745 2.72K
Что выведет код?
x = [[0]]
x = x + x * 2
x[0].append(1)
print(x)
Post #1744 2.89K
  • 👍 9
  • 💯 2
Post #1742 2.49K
Число 2019 в двоичной системе счисления имеет вид "0b11111100011". Как, имея двоичное представление в виде строки выше, преобразовать это число в обычное десятичное выражение?
Post #1741 2.72K
  • 👍 1
  • 😱 1
Post #1740 2.33K
Что выведет код?
(lambda x: x**2 if '' or None or 1 and [False] else lambda x: x*2)(3)
  • 👍 3
  • 😱 3
Post #1738 2.32K
  • 👍 11
Post #1737 2.24K
Что выведет код?
x = [1, 2, 3, [4, 5], 6]
print(x[x[3][0]])
  • 👍 2
Post #1734 2.54K
  • 🔥 4
  • 👍 2
Post #1733 2.37K
Что выведет следующий код в Python 3?
2 > '1'
  • 👨‍💻 1
Post #1732 2.68K
  • 👍 10
Post #1731 2.54K
Что выведет код?
1 > 1 or {} or 'hello' or type('hello') is str and False
  • 😱 9
  • 👍 2
Post #1729 2.35K
Что выведет код?
x = 5
y = '5'
print(x == y and not y == x)
Older posts →
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →