TGViewer
Machinelearning tests Machinelearning tests @machinelearningtest · 661 subscribers
Post #130 619
Что выведет код?
import numpy as np
x = np.linspace(0, 1, 2)
y = np.linspace(0, 1, 3)
X1, Y1 = np.meshgrid(x, y)
X2, Y2 = np.meshgrid(x, y, sparse=True)
print(*X1.shape, *Y1.shape, *X2.shape, *Y2.shape)
More from @machinelearningtest
  1. Apr 16, 2025❓ Что выведет следующий код на Python (модуль statistics)? import statistics as stats impo…
  2. Jul 25, 2024Post #200
  3. Jul 25, 2024Что выведет код? ((lambda x: (lambda y: x ** y)) (3)) (2)
  4. Jul 18, 2024Post #198
  5. Jul 18, 2024Что выведет код? import sys f = lambda x: list(map(sys.stdout.write, x)) t = f(['1', '2',…
  6. Jul 18, 2024Post #196
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 →