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

Showing posts older than #2181 · Back to latest

Older Posts 20 shown
Post #2179 1.51K
Что выведет код?
from math import log
from functools import reduce
f = lambda acc, x: x * acc
gen = (abs(log(i / 10)) for i in range(1, 1000))
print(int(reduce(f, gen, 1)))
Post #2176 1.62K
Что выведет код?
-True % 13 + True % 13
  • 🔥 1
Post #2174 1.62K
Что выведет код?
"I have 10 cars".isalnum()
  • 👎 1
Post #2173 2.05K
  • 👍 6
  • 🔥 2
Post #2172 1.6K
Что выведет код?
print("python".zfill(10))
Post #2170 1.46K
Что выведет код?
import numpy as np
A = np.random.randint(1, 100, size=(5, 5))
B = A.copy()
B[:, [0, -1]] = B[:, [-1, 0]]
d = lambda x: round(np.linalg.det(x))
print(d(A) + d(B))
Post #2169 1.68K
  • 👍 6
  • 👏 1
Post #2168 1.58K
Что выведет код?
"python" * 0 is '' * 10
  • 🔥 1
  • 🤔 1
Post #2167 1.71K
  • 👍 13
Post #2166 1.52K
Что выведет код?
True + ~False
Post #2165 1.74K
  • 🔥 7
  • 👍 2
Post #2163 1.86K
Что выведет код?
x = False or None and True
print(x)
  • 🤔 2
  • 👨‍💻 2
Post #2161 1.7K
Что выведет код?
None or False and True
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 →