Code won't run but no error code

Answered

I'm just learning python. trying to run 

a=5

b=a-2

c=b*7

run doesn't spit out anything but i get an error code 0. pycharm is telling me everything is great and nothing works at the same time. i tried putting spaces around = sign but that didn't help.

1 comment

Hi Dannytate76! Try to add some prints, e.g.:

a=5
b=a-2
c=b*7
print(c)

Your code prints nothing so there's no relevant output.

0

Please sign in to leave a comment.