Im trying to make a program that makes python write in a notepad if a certain condition is met however when I try to run the code i get this error
file1 =