human
Hi
gpt
Hello! How can I help you today?
human
Could you please make me a python script that allows me to input 3 values, then displays them using matplotlib.
gpt
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()