Skip to content
Snippets Groups Projects
Commit 646bd925 authored by Kinadinova Dariya's avatar Kinadinova Dariya
Browse files

liste_alea

parent de70c40d
Branches
No related tags found
No related merge requests found
...@@ -11,11 +11,9 @@ def liste_alea(n: int) -> list[int]: ...@@ -11,11 +11,9 @@ def liste_alea(n: int) -> list[int]:
$$$ $$$
""" """
l = [i for i in range(n)] l = list(range(n))
shuffle(l) shuffle(l)
return l return l
abscisses = [1, 2, 4]
ordonnees = [2, 5, 2]
plt.plot(abscisses, ordonnees, color='blue')
plt.show()
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment