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.48K
Photos
30
Videos
1
Links
41

Showing posts older than #796 · Back to latest

Older Posts 20 shown
Post #794 1.81K
Что выведет код?
import numpy as np
array = np.arange(4)
array = array[::-1]
print(array)
Post #791 1.78K
Что выведет код?
s = bytearray("hello")
print(len(s))
Post #788 1.75K
Что выведет код?
d = {10: 1}
print(sum(d.popitem()) + sum(d))
Post #786 1.75K
Что выведет код?
~ord('Ю') + ord('Я')
Post #784 1.93K
Что выведет код?
import numpy as np
A = np.array([[1, 2], [2, 2]])
B = np.linalg.inv(A)
r = sum(np.diag(A@B))
print(r)
Post #782 1.8K
Дан код:
s = bytearray("hello", encoding="ascii")
Post #779 1.76K
Что выведет код?
d1 = dict.fromkeys(('a', 'b'), 1)
d2 = dict(zip(['c', 'd'], [2, 3]))
d1.update(d2)
print(sum(d1.values()))
Post #776 1.75K
Что выведет последний print, если первый выведет True?
x, y = ord("A"), ord("А")
print(x << 4 == y)
print(chr(y + 1))
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 →