python-CSD-kursu/python-temel/zip.unzip.4.py
2023-06-13 14:41:52 +03:00

8 lines
133 B
Python

points = [(-2, 4), (-1, 1), (0, 0), (1, 1), (2, 4)]
x, y = zip(*points)
import matplotlib.pyplot as plt
plt.plot(x, y)
plt.show()