I have just started learning to code, and I can't seem to get my script to print in the command prompt. I have added python to the path and am certain I'm using the correct directory for the file. I have a python file "app.py";
def cube(num):
return(num * num * num)
print(cube(4))
So in the command prompt I move to the directory with my script and type;
python app.py
And then nothing happens, I just get the command line again.