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 https://www.codecademy.com/paths/computer-science/tracks/cspath-computer-architecture/modules/computer-architecture-portfolio-project/kanban_projects/computer-architecture-portfolio-project.
This is where you can find my code: https://github.com/NOSHIRTEDKEEPER/Computer.
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.