Python CS help

Hello, I need some help with an error that is showing up in my python code, because I have checked it multiple times and can not figure out what is wrong.
The trouble is in the Computer-Science course, specifically
This is where you can find my code:
The error appears when you write in “clear” or “cd”, it prints “clear is not a valid command.” or “cd is not a valid command.” respectively. It is in file Terminal in lines 28 to 35 as far as I can see.
Thank you

It may be an indentation issue:
the else should be indented the same amount as the if that came before it.

I think that is it, but not in the way you think
I think that there should not be an else there, thank you.

it is still doing the same thing.

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.