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

Showing posts older than #2842 · Back to latest

Older Posts 20 shown
Post #2840 738
Что выведет код?
arr = [1, 3, "a", 2]
arr.sort()
print(arr)
Post #2838 777
Что выведет код?
a = {0, 1, 2}
print(a[1])
Post #2836 766
Что выведет код?
a = (100, 2)
b = (1, 103)
print(a > b)
Post #2834 850
Что выведет код?
a = None
b = None
a is b is None
Post #2832 795
Что выведет код?
a = None
print(a is None is True)
Post #2830 729
Что выведет код?
from typing import Final
x: Final = 'hi'
x = 'hello'
print(x)
Post #2828 694
Что выведет код?
print(1 and 2 and 3)
Post #2826 757
Что выведет код?
class A:
x = 1

class B(A):
pass

class C(A):
pass

A.x = 2
B.x = 3

print(B.x, C.x)
Post #2824 756
Что выведет код?
import copy
l = [0, 'hi', [1, 2]]
m1 = copy.deepcopy(l)
m2 = copy.copy(l)
print((l[0] is m2[0]), (l[1] is m1[1]), (l[2] is m1[2]))
Post #2822 748
Что выведет код?
print(round(8.5), round(8.51), round(9.5), end = ' ')
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 →