“py” Réponses codées

pypllot python

import numpy as np
import matplotlib.pyplot as plt

x = np.array([1, 3, 4, 6])
y = np.array([2, 3, 5, 1])
plt.plot(x, y)

plt.show()
Witty Willet

py

better than cpython and cython if you are looking for faster code execution.
but it's a pain in the ass when you try to use common libraries like TF
and matplotlib. it takes forever to download and install the packages.
Eager Eel

py


list1 = ['Scott', 'Eric', 'Kelly', 'Emma', 'Smith']
list2 = ['Scott', 'Eric', 'Kelly']

set1 = set(list1)
set2 = set(list2)

list3 = list(set1.symmetric_difference(set2))
print(list3)
Fine Frog

Réponses similaires à “py”

Questions similaires à “py”

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code