What Is Output Of Following Python C.ode?
#Amount vs Days#
import numpy as np
import matplotlib.pyplot as plt
col=[8000,12000,9800,11200,15500,7300]
x=np.arange(6)
plt.title("volunteering week collection")
plt.bar(x,col,color='black',width=0.25)
plt.xticks(x,['Mon','Tus','Wed','Thu','Fri','Sat'])
plt.xlabel("Days")
plt.ylabel("collection")
plt.show()
Answers
Answered by
19
Answer:
After Running Above Python C.ode The Output
produced is Given in The Above Attachment.
Python Version is Python IDLE 3.8.6 shell
The Answer is an Original answer by Me.
after Interpreting C.odes .
May help future python aspirant
Attachments:
Answered by
0
Answer:
import numpy as np
import matplotlib.pyplot as plt
col=[8000,12000,9800,11200,15500,7300]
x=np.arange(6)
plt.title("volunteering week collection")
plt.bar(x,col,color='black',width=0.25)
plt.xticks(x,['Mon','Tus','Wed','Thu','Fri','Sat'])
plt.xlabel("Days")
plt.ylabel("collection")
plt.show()
Similar questions