so I'm new to the language so I've trying to do a vertical bar graph as shown below without luck, so far the only thing i've managed to do is to make it horizontally like this:
***********
*******
****
*********
****
which i do it by
for v in d:
print(" * " * v)
however I've been trying to transpose the results but i still dont get it.
this is what i need:
d = {0: 1, 1: 10, 2: 150, 3: 200, 4:80}
| *
| * * *
| * * * *
| * * * * *
| * * * * *
------------------------------
0 1 2 3 4 5
can anybody point me on the right path?
thanks!