Error: object of type ‘int’ has no len()
solution problems
Error: object of type ‘int’ has no len()
solution path
Type Error: No target type of int ()
Solution methods
Very simple errors, but roughly resulted!
replace
plt.xticks(3, [‘111’, ‘222’, ‘333’]
with
plt.xticks([1,2,3), [‘111’, ‘222’, ‘333’]