Dmitriy IgnatievPro Student 6,236 Points
def clear() in PyCharm
Could anybody clarify why def clear() doesn't work in PyCharm and how it can be solved in PyCharm?
Many thanks in advance
It looks like you have a space in front of " nt". try 'nt' os.system('cls' if os.name == ' nt' else 'clear') I hope this worked! It hard to notice spaces!