81837e55-52c6-46cc-adcc-d5fbbf7518e3
prompter
Hi
fd2af286-08c1-4e9d-ac9f-1690a7eb2bd0
81837e55-52c6-46cc-adcc-d5fbbf7518e3
assistant
Hello! How can I help you today?
c00c8843-4a86-4e20-8412-fc61912597df
fd2af286-08c1-4e9d-ac9f-1690a7eb2bd0
prompter
Could you please make me a python script that allows me to input 3 values, then displays them using matplotlib.
e4aac7bd-41e8-4fec-8859-d58a8572e544
c00c8843-4a86-4e20-8412-fc61912597df
assistant
import matplotlib.pyplot as plt 

#input three values 
x1 = float(input("Enter the first value: "))
x2 = float(input("Enter the second value: "))
x3 = float(input("Enter the third value: "))

#plot the values 
plt.plot([x1, x2, x3])
plt.show()