Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Hamburgers = []
- Salads = []
- for x in range(0,11):
- Hamburgers += [x*4]
- Salads += [(10-x)*2]
- print(Hamburgers)
- print(Salads)
- plt.plot(Hamburgers,Salads)
- plt.xlabel("Hamburgers")
- plt.ylabel("Salads")
- plt.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement